Skip to content

Commit 81a2f79

Browse files
committed
BLD: escape GH_TOKEN in build_docs
1 parent b6de920 commit 81a2f79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/build_docs.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ if [ x"$DOC_BUILD" != x"" ]; then
5656
git add --all .
5757
git commit -m "Version" --allow-empty
5858
git remote remove origin
59-
git remote add origin "https://$GH_TOKEN@github.com/pandas-docs/pandas-docs-travis.git"
59+
echo "https://${GH_TOKEN}@github.com/pandas-docs/pandas-docs-travis.git"
60+
git remote add origin "https://${GH_TOKEN}@github.com/pandas-docs/pandas-docs-travis.git"
6061
git push origin gh-pages -f
6162
fi
6263

0 commit comments

Comments
 (0)