From 9b1ff6887bff18d6937c9b1270a81df9cc85db05 Mon Sep 17 00:00:00 2001 From: Maximilian Schmidt Date: Tue, 4 Aug 2020 13:31:24 +0900 Subject: [PATCH] test deploy --- .travis.yml | 32 +++++++++++++++++++------------- docs/deploy.sh | 3 +++ 2 files changed, 22 insertions(+), 13 deletions(-) create mode 100755 docs/deploy.sh diff --git a/.travis.yml b/.travis.yml index 2dca54d2..328fea31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ env: branches: only: - master + - CI/examples_short jobs: exclude: - python: "3.6" @@ -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]" diff --git a/docs/deploy.sh b/docs/deploy.sh new file mode 100755 index 00000000..8b11e687 --- /dev/null +++ b/docs/deploy.sh @@ -0,0 +1,3 @@ +make -C docs/ clean +make -C docs/ html +touch docs/_build/html/.nojekyll