File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,10 @@ if [ "$DOC" ]; then
40
40
cd /tmp/doc/build/html
41
41
git config --global user.email
" [email protected] "
42
42
git config --global user.name " pandas-docs-bot"
43
- git config --global credential.helper cache
44
43
45
44
# create the repo
46
45
git init
47
46
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
-
52
47
touch README
53
48
git add README
54
49
git commit -m " Initial commit" --allow-empty
@@ -58,6 +53,11 @@ if [ "$DOC" ]; then
58
53
git add --all .
59
54
git commit -m " Version" --allow-empty
60
55
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
+
61
61
git push origin gh-pages -f
62
62
fi
63
63
You can’t perform that action at this time.
0 commit comments