moved and minor fixed deployment script

This commit is contained in:
Roman Gotsiy 2015-10-08 12:58:40 +03:00
parent 920c5c0497
commit 6e3c0b912e
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ before_deploy:
deploy:
skip_cleanup: true
provider: script
script: "./deploy_gh_pages.sh"
script: "./build/deploy_gh_pages.sh"
on:
branch: master

View File

@ -10,5 +10,5 @@ set -o pipefail
cp -r ../dist ./dist
git add .
git commit -m "Deployed to Github Pages"
git push --force "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1
git push --force "https://${GH_TOKEN}@${GH_REF}" master:gh-pages 2>&1
) 2>&1 | sed "s/${GH_TOKEN}/xxPASSxx/"