Skip to content

Add settings for model averaging in the frontend (#620) #422

Add settings for model averaging in the frontend (#620)

Add settings for model averaging in the frontend (#620) #422

Workflow file for this run

name: documentation
on:
push:
branches:
- main
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
- uses: actions/setup-python@v2
with:
python-version: 3.x
- name: "Github"
run: |
git fetch origin gh-pages --depth=1
git config user.name github-actions
git config user.email [email protected]
- name: "on tags"
if: startsWith(github.ref, 'refs/tags/')
run: |
pip install mkdocs-material mike
cd docs && mike deploy --push ${VERSION%.*}
# ${VERSION%.*} removes the patch version number
env:
VERSION: ${{ steps.get_version.outputs.VERSION }}
- name: "on branch"
if: ${{ startsWith(github.ref, 'refs/tags/') == false }}
run: |
pip install mkdocs-material mike
cd docs && mike deploy --push main