Skip to content

Commit ebd2884

Browse files
author
Dev Bear
committed
chore(pypi): use trusted publisher
1 parent 36507dc commit ebd2884

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
contents: read
1313
id-token: write # Required for trusted publishing
14-
environment: release # Or whatever name you configure on PyPI
14+
environment: PyPI
1515
steps:
1616
- uses: actions/checkout@v4
1717

@@ -32,6 +32,4 @@ jobs:
3232
run: uv run python -m build .
3333

3434
- name: Publish package to PyPI
35-
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
password: ${{ secrets.PYPI_API_TOKEN }}
35+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)