mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
moved and minor fixed deployment script
This commit is contained in:
parent
920c5c0497
commit
6e3c0b912e
|
@ -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
|
||||
|
|
|
@ -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/"
|
Loading…
Reference in New Issue
Block a user