Skip to content

Workflow file for this run

name: Publish package distributions to PyPI
on: [push]
jobs:
pypi-publish:
runs-on: ubuntu-latest
environment:
name: pypiPublish package distributions to PyPI
url: https://pypi.org/p/sphinxnotes-snippet
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- run: pwd && ls && make dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_TEST_API_TOKEN }}