Skip to content

Commit 2466ecb

Browse files
committed
BLD: try new build credentials for pandas-docs
1 parent 1725d24 commit 2466ecb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
global:
1717

1818
# pandas-docs-travis GH
19-
- secure: "PCzUFR8CHmw9lH84p4ygnojdF7Z8U5h7YfY0RyT+5K/aiQ1ZTU3ZkDTPI0/rR5FVMxsEEKEQKMcc5fvqW0PeD7Q2wRmluloKgT9w4EVEJ1ppKf7lITPcvZR2QgVOvjv4AfDtibLHFNiaSjzoqyJVjM4igjOu8WTlF3JfZcmOQjQ="
19+
- secure: "UJK7kUtkcnV9PFP4IBXAvgmRQKdwARlfqF4UZQ5tBwrpnD1a3n7FLBijcuXQ3jkvwpEc/FZB9RJDXmsqYXJPvq3BC++2Cv2tFDvKr/c+y8KffszAyVk47jKEHMNmGgauwaNMggsE/rH8YHe4so9LsJHTRbzmLo8lXPNTldoIu5s="
2020

2121
git:
2222
# for cloning

ci/build_docs.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ if [ x"$DOC_BUILD" != x"" ]; then
4343
cd /tmp/doc/build/html
4444
git config --global user.email "pandas-docs-bot@localhost.foo"
4545
git config --global user.name "pandas-docs-bot"
46+
git config --global credential.helper cache
4647

48+
# create the repo
4749
git init
4850
touch README
4951
git add README
@@ -53,7 +55,7 @@ if [ x"$DOC_BUILD" != x"" ]; then
5355
touch .nojekyll
5456
git add --all .
5557
git commit -m "Version" --allow-empty
56-
git remote add origin https://$GH_TOKEN@github.com/pandas-docs/pandas-docs-travis
58+
git remote add origin "https://$GH_TOKEN@github.com/pandas-docs/pandas-docs-travis"
5759
git push origin gh-pages -f
5860
fi
5961

0 commit comments

Comments
 (0)