File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,10 @@ if [ "$DOC" ]; then
4040 cd /tmp/doc/build/html
4141 git config --global user.email " pandas-docs-bot@localhost.foo"
4242 git config --global user.name " pandas-docs-bot"
43- git config --global credential.helper cache
4443
4544 # create the repo
4645 git init
4746
48- git remote remove origin
49- git remote add origin " https://${PANDAS_GH_TOKEN} @github.com/pandas-docs/pandas-docs-travis.git"
50- git fetch origin
51-
5247 touch README
5348 git add README
5449 git commit -m " Initial commit" --allow-empty
@@ -58,6 +53,11 @@ if [ "$DOC" ]; then
5853 git add --all .
5954 git commit -m " Version" --allow-empty
6055
56+ git remote remove origin
57+ git remote add origin " https://${PANDAS_GH_TOKEN} @github.com/pandas-docs/pandas-docs-travis.git"
58+ git fetch origin
59+ git remote -v
60+
6161 git push origin gh-pages -f
6262fi
6363
You can’t perform that action at this time.
0 commit comments