Browse Source

fix: 更新部署脚本

kang.wang 5 years ago
parent
commit
bd72039217
1 changed files with 2 additions and 1 deletions
  1. 2 1
      deploy.sh

+ 2 - 1
deploy.sh

@@ -17,7 +17,8 @@ git add -A
 git commit -m 'deploy'
 
 # 如果发布到 https://<USERNAME>.github.io
-git push -f git@github.com:allpayx/allpayx.github.io.git master
+# git push -f git@github.com:allpayx/allpayx.github.io.git master
+git push -f https://${access_token}@github.com/nzmd/allpayx.github.io.git master
 
 # 如果发布到 https://<USERNAME>.github.io/<REPO>
 # git push -f git@github.com:<USERNAME>/<REPO>.git master:gh-pages