Skip to content

Commit

Permalink
fix upload event filter
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Sep 26, 2023
1 parent 05cfeed commit 3531c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
build:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
upload_to_pypi: ${{ github.event_name == 'released'}}
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
secrets:
pypi_token: ${{ secrets.PYPI_PASSWORD_STSCI_MAINTAINER }}

0 comments on commit 3531c67

Please sign in to comment.