Skip to content

Commit 2bb4313

Browse files
Matt GarthwaiteMatt Garthwaite
Matt Garthwaite
authored and
Matt Garthwaite
committed
fix Travis deployment to gh-pages
1 parent cc738d7 commit 2bb4313

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
- PROJBUILD=$HOME/projbuild
1313

1414

15-
# nci verson is GDALVERSION="3.0.2" and python3.7
15+
# nci version is GDALVERSION="3.0.2" and python3.7
1616
jobs:
1717
include:
1818
- python: "3.6"
@@ -68,19 +68,20 @@ after_success:
6868
- codecov
6969

7070

71+
before_deploy:
72+
- cd docs && make html
73+
74+
7175
deploy:
72-
script:
73-
- pip install numpy==1.16.4
74-
- cd docs && make html
7576
provider: pages
76-
skip-cleanup: true
77-
keep-history: true
77+
skip_cleanup: true
78+
keep_history: true
7879
verbose: true
7980
on:
8081
branch: master
8182
condition: $GDALVERSION="3.0.2" && $TRAVIS_PYTHON_VERSION=3.8.*
82-
github-token: $GITHUB_TOKEN2
83-
local-dir: docs/_build/html
83+
github_token: $GITHUB_TOKEN2
84+
local_dir: docs/_build/html
8485
project_name: PyRate
8586
email: insar@ga.gov.au
8687
name: InSAR Team

0 commit comments

Comments
 (0)