Forráskód Böngészése

build: deploy to gh-pages explicit reset GH_TOKEN

David Bernard 9 éve
szülő
commit
47354aaed0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      deploy_ghpages.sh

+ 1 - 1
deploy_ghpages.sh

@@ -31,6 +31,6 @@ git config --local user.email "[email protected]"
 git config --local user.name "Travis"
 git add -A .
 git commit -m "Travis build $TRAVIS_BUILD_NUMBER pushed to gh-pages at ${rev}"
-git push origin gh-pages
+git push --force --quiet https://${GH_TOKEN}@github.com/${repo} gh-pages
 cd ..
 rm -Rf gh-pages