Skip to content

ci (release): add semantic release configuration (#153) #56

ci (release): add semantic release configuration (#153)

ci (release): add semantic release configuration (#153) #56

Workflow file for this run

name: docs-website
on:
push:
branches:
- main
permissions:
contents: read
jobs:
# Build the documentation and upload the static HTML files as an artifact.
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry check
poetry lock --no-update
poetry install --verbose
- run: poetry run poe docs
- uses: actions/upload-pages-artifact@v1
with:
path: docs/html
# Deploy the artifact to GitHub pages.
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v1