From 2bb431309d7402bd2733a3d968394ffc30553945 Mon Sep 17 00:00:00 2001 From: Matt Garthwaite Date: Wed, 20 May 2020 09:36:29 +1000 Subject: [PATCH] fix Travis deployment to gh-pages --- .travis.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b26fe6b64..12c95c37a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ env: - PROJBUILD=$HOME/projbuild -# nci verson is GDALVERSION="3.0.2" and python3.7 +# nci version is GDALVERSION="3.0.2" and python3.7 jobs: include: - python: "3.6" @@ -68,19 +68,20 @@ after_success: - codecov +before_deploy: + - cd docs && make html + + deploy: - script: - - pip install numpy==1.16.4 - - cd docs && make html provider: pages - skip-cleanup: true - keep-history: true + skip_cleanup: true + keep_history: true verbose: true on: branch: master condition: $GDALVERSION="3.0.2" && $TRAVIS_PYTHON_VERSION=3.8.* - github-token: $GITHUB_TOKEN2 - local-dir: docs/_build/html + github_token: $GITHUB_TOKEN2 + local_dir: docs/_build/html project_name: PyRate email: insar@ga.gov.au name: InSAR Team