Skip to content

v0.4.0. Converter, docs. #21

v0.4.0. Converter, docs.

v0.4.0. Converter, docs. #21

Workflow file for this run

name: Docs
on:
push:
branches: [ master ]
paths: [ "mkdocs.yml", "docs/**", "README.md", "examples/**" ]
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: poetry
- run: poetry install --with docs
- name: Build docs
run: poetry run mkdocs build
- uses: actions/upload-pages-artifact@v2
with:
path: site
deploy:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2