Skip to content

Commit c39013d

Browse files
Merge pull request #6 from mirumee/fix/pypi-publish-api-token
fix(ci): publish to PyPI with API token instead of OIDC
2 parents a44eca6 + b3b7e9b commit c39013d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ jobs:
1616
name: Publish Python distribution to PyPI
1717
if: startsWith(github.ref, 'refs/tags/')
1818
runs-on: ubuntu-latest
19-
environment:
20-
name: pypi
21-
url: https://pypi.org/p/ariadne-lambda
2219
permissions:
23-
id-token: write
2420
contents: read
2521

2622
steps:
@@ -38,4 +34,6 @@ jobs:
3834
- name: Publish package distributions to PyPI
3935
uses: pypa/gh-action-pypi-publish@release/v1
4036
with:
37+
password: ${{ secrets.PYPI_API_TOKEN }}
4138
skip-existing: true
39+
attestations: false

0 commit comments

Comments
 (0)