Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmidt87 committed Aug 5, 2020
1 parent c4518a1 commit 9b1ff68
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
branches:
only:
- master
- CI/examples_short
jobs:
exclude:
- python: "3.6"
Expand Down Expand Up @@ -39,16 +40,21 @@ script:
after_success:
- coveralls
deploy:
provider: pages:git
skip_cleanup: true
verbose: true
token: $GITHUB_TOKEN
edge: true
script:
make -C docs/ html
touch docs/_build/html/.nojekyll
local_dir: ./docs/_build/html/
keep_history: true
on:
python: 3.8
condition: $DEP = "[all]"
- provider: script
script: bash docs/deploy.sh
on:
branch: CI/examples_short
python: 3.8
condition: $DEP = "[all]"
edge: true
- provider: pages:git
skip_cleanup: true
verbose: true
token: $GITHUB_TOKEN
edge: true
local_dir: ./docs/_build/html/
keep_history: true
on:
branch: CI/examples_short
python: 3.8
condition: $DEP = "[all]"
3 changes: 3 additions & 0 deletions docs/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
make -C docs/ clean
make -C docs/ html
touch docs/_build/html/.nojekyll

0 comments on commit 9b1ff68

Please sign in to comment.