Skip to content

Commit 08a9115

Browse files
committed
added actions
1 parent e235225 commit 08a9115

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
# This block allows GitHub to prove its identity to PyPI
11+
permissions:
12+
id-token: write
13+
contents: read
14+
1015
steps:
1116
- uses: actions/checkout@v4
1217

@@ -25,5 +30,4 @@ jobs:
2530

2631
- name: Publish to PyPI
2732
uses: pypa/gh-action-pypi-publish@release/v1
28-
with:
29-
password: ${{ secrets.PYPI_API_TOKEN }}
33+
# No 'with: password' needed anymore!

0 commit comments

Comments
 (0)