File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5
5
# Used with their MIT license https://github.com/eldarlabs/ghpages-deploy-script/blob/master/LICENSE
6
6
7
7
# abort the script if there is a non-zero error
8
- set -e
8
+ set -euxo pipefail
9
9
10
10
# initialize hub submodule
11
11
git submodule deinit -f . && git submodule update --init --recursive
@@ -57,7 +57,7 @@ git add -A
57
57
# now commit, ignoring branch master doesn't seem to work, so trying skip
58
58
git commit --allow-empty -m " Deploy to GitHub Pages on master [ci skip]"
59
59
# and push, but send any output to /dev/null to hide anything sensitive
60
- git push --force --quiet https://$GITHUB_TOKEN @github.com/pytorch/pytorch.github.io.git master
60
+ git push --force --quiet https://pytorch: $GITHUB_TOKEN @github.com/pytorch/pytorch.github.io.git master
61
61
# go back to where we started and remove the master git repo we made and used
62
62
# for deployment
63
63
cd ..
You can’t perform that action at this time.
0 commit comments