Skip to content

Commit

Permalink
Merge pull request #1601 from zacharyburnett/build/publish_pypi
Browse files Browse the repository at this point in the history
upload to PyPI on release
  • Loading branch information
mfixstsci committed May 31, 2024
2 parents 1fac6de + 11abc52 commit c4c37f5
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 c4c37f5

Please sign in to comment.