Skip to content

Commit

Permalink
seperates PyPI and TestPyPI publishing rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewphilipsmith committed Dec 9, 2024
1 parent 2391358 commit 15ff6c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
permissions:
id-token: write
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/download-artifact@v4
Expand All @@ -78,3 +77,6 @@ jobs:
# Remember to tell (test-)pypi about this repo before publishing
# Remove this line to publish to PyPI
repository-url: https://test.pypi.org/legacy/

- uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'release' && github.event.action == 'published'

0 comments on commit 15ff6c0

Please sign in to comment.