Skip to content

chore: Update project template to sphinx-notes/cookiecutter@59155452 #1

chore: Update project template to sphinx-notes/cookiecutter@59155452

chore: Update project template to sphinx-notes/cookiecutter@59155452 #1

Workflow file for this run

name: Publish package distributions to PyPI
on:
push:
tags:
- "*"
jobs:
pypi:
name: Publish package distributions to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/sphinxnotes-fasthtml
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install build twine && make dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}