Skip to content

Commit 0ea0f25

Browse files
committed
DOC: remove credential helper
1 parent 30d866e commit 0ea0f25

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ci/build_docs.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,10 @@ if [ "$DOC" ]; then
4040
cd /tmp/doc/build/html
4141
git config --global user.email "[email protected]"
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
6262
fi
6363

0 commit comments

Comments
 (0)