Skip to content

Commit

Permalink
Clean up deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Jul 6, 2024
1 parent de38e09 commit 93c9f14
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ jobs:
deploy:
needs: isolated_tests
if: startsWith(github.ref, 'refs/tags/')
if: github.ref_type == 'tag'
runs-on: ubuntu-latest
environment:
name: deploy
url: https://pypi.org/project/delocate/
name: pypi
url: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -206,5 +206,3 @@ jobs:
name: delocate-sdist
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true

0 comments on commit 93c9f14

Please sign in to comment.