Skip to content

Publish

Publish #14

Workflow file for this run

name: Publish
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Flit
run: pip install flit
- name: Install Dependencies
run: make install
- name: Install build dependencies
run: pip install build
- name: Build distribution
run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@v1.11.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Deploy Documentation
run: make doc-deploy