Skip to content
Snippets Groups Projects
Commit 41afa80f authored by Alex Crichton's avatar Alex Crichton
Browse files

Add upload tokens

parent 24abc4fb
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ os:
env:
- ARCH=i686
- ARCH=x86_64
global:
secure: Zh+dsvtjyhRKki3nA+x9FlUEszs6qswMSg1xnkihLbWjrNQhPRcfZXux2LoRbh4A7RtrlDU0Bzga9G7uuNlouALqeAqSbUVBmctjrOrWnKnhHmYQkYa8XBTR90rSn+37sLyinnGSFRIrOM5sc3dTZGlGmjNWwp+Kf8oj9T2SS7w=
matrix:
include:
- os: linux
......
......@@ -30,5 +30,5 @@ cp ci/landing-page.html target/doc/index.html
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "autotest" ]; then
pip install ghp-import --user $USER
$HOME/.local/bin/ghp-import -n target/doc
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment