Skip to content

Release v0.4.0 (#38) #24

Release v0.4.0 (#38)

Release v0.4.0 (#38) #24

Workflow file for this run

on:
push:
branches:
- main
jobs:
# Build the documentation and upload the static HTML files as an artifact.
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: abatilo/actions-poetry@v2
- run: poetry install
- run: poetry run generate_docs
- run: git fetch origin gh-pages --depth=1
- run: git config user.name ci-bot
- run: git config user.email [email protected]
- run: poetry run mike deploy latest
- run: git checkout gh-pages
# Push changes to gh-pages branch
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages