.github/workflows/publish-to-pypi.yml
raw| 1 | name: Publish to PyPI |
| 2 | |
| 3 | on: |
| 4 | release: |
| 5 | types: [released] |
| 6 | workflow_dispatch: |
| 7 | |
| 8 | jobs: |
| 9 | publish: |
| 10 | uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 |
| 11 | with: |
| 12 | upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} |
| 13 | secrets: |
| 14 | pypi_token: ${{ secrets.PYPI_PASSWORD_ASDF_MAINTAINER }} |