Add upload tokens
This commit is contained in:
parent
24abc4fb80
commit
41afa80f05
|
@ -14,6 +14,8 @@ os:
|
||||||
env:
|
env:
|
||||||
- ARCH=i686
|
- ARCH=i686
|
||||||
- ARCH=x86_64
|
- ARCH=x86_64
|
||||||
|
global:
|
||||||
|
secure: Zh+dsvtjyhRKki3nA+x9FlUEszs6qswMSg1xnkihLbWjrNQhPRcfZXux2LoRbh4A7RtrlDU0Bzga9G7uuNlouALqeAqSbUVBmctjrOrWnKnhHmYQkYa8XBTR90rSn+37sLyinnGSFRIrOM5sc3dTZGlGmjNWwp+Kf8oj9T2SS7w=
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
|
|
@ -30,5 +30,5 @@ cp ci/landing-page.html target/doc/index.html
|
||||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "autotest" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "autotest" ]; then
|
||||||
pip install ghp-import --user $USER
|
pip install ghp-import --user $USER
|
||||||
$HOME/.local/bin/ghp-import -n target/doc
|
$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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue