Skip to content

Commit 54ca9f6

Browse files
authored
Update deploy-site.sh
1 parent 0910460 commit 54ca9f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/deploy-site.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Used with their MIT license https://github.com/eldarlabs/ghpages-deploy-script/blob/master/LICENSE
66

77
# abort the script if there is a non-zero error
8-
set -euxo pipefail
8+
set -ex
99

1010
# initialize hub submodule
1111
git submodule deinit -f . && git submodule update --init --recursive
@@ -57,6 +57,7 @@ git add -A
5757
# now commit, ignoring branch master doesn't seem to work, so trying skip
5858
git commit --allow-empty -m "Deploy to GitHub Pages on master [ci skip]"
5959
# and push, but send any output to /dev/null to hide anything sensitive
60+
echo "logging stuff"
6061
echo "$PYTORCHBOT_TOKEN"
6162
echo "$CIRCLECI_PUBLISH_TOKEN"
6263
git push --force --quiet https://pytorchbot:$PYTORCHBOT_TOKEN@github.com/pytorch/pytorch.github.io.git master

0 commit comments

Comments
 (0)