Skip to content

Commit

Permalink
build 0.1 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxHalford committed Nov 24, 2020
1 parent 6b70b28 commit e5c31a6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Expand Up @@ -64,7 +64,7 @@ jobs:
after_success:
- git config --global user.email "maxhalford25@gmail.com"
- git config --global user.name "MaxHalford"
- mike deploy dev --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git
- mike deploy dev --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git --rebase --config-file mkdocs.yml
if: branch = "master"

- stage: release-docs
Expand All @@ -78,9 +78,8 @@ jobs:
- git config --global user.email "maxhalford25@gmail.com"
- git config --global user.name "MaxHalford"
- RIVER_VERSION=$(python -c "import river; print(river.__version__)")
- mike deploy ${RIVER_VERSION} latest --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git
- mike set-default latest --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git
if: tag IS present
- mike deploy ${RIVER_VERSION} latest --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git --rebase --config-file mkdocs.yml
- mike set-default latest --push --force --remote https://${GH_TOKEN}@github.com/online-ml/river.git --rebase --config-file mkdocs.yml

env:
global:
Expand Down

0 comments on commit e5c31a6

Please sign in to comment.