We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4be656b + f7910c8 commit 4fa56f5Copy full SHA for 4fa56f5
2 files changed
.github/workflows/publish-pypi.yml
@@ -12,6 +12,8 @@ jobs:
12
publish:
13
name: publish
14
runs-on: ubuntu-latest
15
+ permissions:
16
+ id-token: write
17
18
steps:
19
- uses: actions/checkout@v6
@@ -24,5 +26,3 @@ jobs:
24
26
- name: Publish to PyPI
25
27
run: |
28
bash ./bin/publish-pypi
- env:
- PYPI_TOKEN: ${{ secrets.DOCSTRANGE_PYPI_TOKEN || secrets.PYPI_TOKEN }}
bin/publish-pypi
@@ -4,4 +4,4 @@ set -eux
4
rm -rf dist
5
mkdir -p dist
6
uv build
7
-uv publish --token=$PYPI_TOKEN
+uv publish
0 commit comments