Skip to content

Commit

Permalink
fix Travis deployment to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Garthwaite authored and Matt Garthwaite committed May 20, 2020
1 parent cc738d7 commit 2bb4313
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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: [email protected]
name: InSAR Team
Expand Down

0 comments on commit 2bb4313

Please sign in to comment.