Skip to content

Commit

Permalink
Removing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dtpryce committed Sep 14, 2023
1 parent e534eb2 commit 9e898a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
# Specifying a GitHub environment is optional, but strongly encouraged
if: ${{ github.ref != 'refs/heads/main' }}
environment: test
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: ${{ github.ref == 'refs/heads/main' }}
environment: release
uses: pypa/gh-action-pypi-publish@release/v1
- name: Add, commit and push version update
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 9e898a1

Please sign in to comment.