소스 검색

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