Skip to content

Commit

Permalink
switch to OIDC publishing for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Jun 13, 2023
1 parent 4bc9de7 commit d4e6137
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ jobs:

deploy:
uses: mhils/workflows/.github/workflows/python-deploy.yml@main
needs: [test, build]
needs: check
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
permissions:
id-token: write
with:
artifact: wheels
# repository: testpypi
# environment: deploy-testpypi
secrets:
password: ${{ secrets.PYPI_TOKEN }}

check:
if: always()
Expand Down

0 comments on commit d4e6137

Please sign in to comment.