Skip to content

0.4.4

0.4.4 #18

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
pypi-publish:
name: Publish to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: citizensadvice/python-poetry-setup-action@v1
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
mkdocs-publish:
name: Publish docs to GitHub Pages
needs: pypi-publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: citizensadvice/python-poetry-setup-action@v1
- run: poetry run mkdocs gh-deploy --force