diff --git a/.travis.yml b/.travis.yml
index 1fce2aec53585e869b58bc7b9fcc6b37f1289855..18a7ccba748214b7a3d4cb17399f74cdca2a9be9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,8 @@ os:
 env:
   - ARCH=i686
   - ARCH=x86_64
+  global:
+    secure: Zh+dsvtjyhRKki3nA+x9FlUEszs6qswMSg1xnkihLbWjrNQhPRcfZXux2LoRbh4A7RtrlDU0Bzga9G7uuNlouALqeAqSbUVBmctjrOrWnKnhHmYQkYa8XBTR90rSn+37sLyinnGSFRIrOM5sc3dTZGlGmjNWwp+Kf8oj9T2SS7w=
 matrix:
   include:
     - os: linux
diff --git a/ci/dox.sh b/ci/dox.sh
index ec13b062fb5557e9d577ec93c93aa878e0c0a931..615aacdd2547d1ce716f4b0d0f01dbd3fccdcc8d 100644
--- a/ci/dox.sh
+++ b/ci/dox.sh
@@ -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