Skip to content

Commit

Permalink
upload to PyPI on release
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed May 31, 2024
1 parent 1fac6de commit 11abc52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
build:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: false
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}
freeze:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 11abc52

Please sign in to comment.