mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-15 02:32:20 +03:00
moved and minor fixed deployment script
This commit is contained in:
parent
920c5c0497
commit
6e3c0b912e
|
@ -19,6 +19,6 @@ before_deploy:
|
||||||
deploy:
|
deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
provider: script
|
provider: script
|
||||||
script: "./deploy_gh_pages.sh"
|
script: "./build/deploy_gh_pages.sh"
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
|
@ -10,5 +10,5 @@ set -o pipefail
|
||||||
cp -r ../dist ./dist
|
cp -r ../dist ./dist
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Deployed to Github Pages"
|
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/"
|
) 2>&1 | sed "s/${GH_TOKEN}/xxPASSxx/"
|
Loading…
Reference in New Issue
Block a user