File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3030 - yarn travis-deploy-once "yarn semantic-release"
3131 skip_cleanup : true
3232 after_deploy :
33- - git push --force "https://${GH_TOKEN}@github.com/${GH_REPO}.git" $(git subtree split --prefix demo master):gh-pages
33+ - yarn deploy: demo
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ async function deployDemo() {
77 const gitCommands = [
88 'git add demo/' ,
99 'git commit -am "add demo"' ,
10- `git push https://${ GH_TOKEN } @${ GH_REPO } $(git subtree split --prefix demo $(git rev-parse --abbrev-ref HEAD)):gh-pages --force` ,
10+ `git push https://${ GH_TOKEN } @github.com/ ${ GH_REPO } .git $(git subtree split --prefix demo $(git rev-parse --abbrev-ref HEAD)):gh-pages --force > /dev/null 2>&1 ` ,
1111 'git reset --hard HEAD~1' ,
1212 ]
1313
You can’t perform that action at this time.
0 commit comments