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 02ffc6e commit 1b0ff8fCopy full SHA for 1b0ff8f
.github/workflows/deploy-pypi.yml
@@ -8,6 +8,11 @@ on:
8
jobs:
9
deploy-pypi:
10
runs-on: ubuntu-latest
11
+ # Specifying a GitHub environment is optional, but strongly encouraged
12
+ environment: pypi
13
+ permissions:
14
+ # IMPORTANT: this permission is mandatory for Trusted Publishing
15
+ id-token: write
16
steps:
17
- uses: actions/checkout@v4
18
@@ -27,6 +32,3 @@ jobs:
27
32
28
33
- name: Publish package
29
34
uses: pypa/gh-action-pypi-publish@release/v1
30
- with:
31
- user: __token__
- password: ${{ secrets.pypi_password }}
0 commit comments