We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658836c commit f7156b9Copy full SHA for f7156b9
.github/workflows/test.yml
@@ -53,6 +53,8 @@ jobs:
53
deploy:
54
needs: test
55
runs-on: ubuntu-latest
56
+ environment: pypi
57
+ permissions: {contents: write, id-token: write, packages: write}
58
steps:
59
- uses: actions/checkout@v4
60
with: {fetch-depth: 0}
@@ -63,7 +65,6 @@ jobs:
63
65
uses: casperdcl/deploy-pypi@v2
64
66
with:
67
build: true
- password: ${{ secrets.PYPI_TOKEN }}
68
gpg_key: ${{ secrets.GPG_KEY }}
69
upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
70
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
0 commit comments