Skip to content

Commit

Permalink
DOC: remove credential helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback authored and pcluo committed May 22, 2017
1 parent ef15a0a commit 9479f2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,10 @@ if [ "$DOC" ]; then
cd /tmp/doc/build/html
git config --global user.email "pandas-docs-bot@localhost.foo"
git config --global user.name "pandas-docs-bot"
git config --global credential.helper cache

# create the repo
git init

git remote remove origin
git remote add origin "https://${PANDAS_GH_TOKEN}@github.com/pandas-docs/pandas-docs-travis.git"
git fetch origin

touch README
git add README
git commit -m "Initial commit" --allow-empty
Expand All @@ -58,6 +53,11 @@ if [ "$DOC" ]; then
git add --all .
git commit -m "Version" --allow-empty

git remote remove origin
git remote add origin "https://${PANDAS_GH_TOKEN}@github.com/pandas-docs/pandas-docs-travis.git"
git fetch origin
git remote -v

git push origin gh-pages -f
fi

Expand Down

0 comments on commit 9479f2a

Please sign in to comment.