Преглед изворни кода

build: deploy to gh-pages explicit reset GH_TOKEN

David Bernard пре 9 година
родитељ
комит
47354aaed0
1 измењених фајлова са 1 додато и 1 уклоњено
  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