Skip to content

Commit 245f069

Browse files
authored
Merge pull request #12 from PrefectHQ/github-action-release
changes to pypi trusted provider
2 parents f3b3830 + 94fd581 commit 245f069

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
needs: [build-release]
3838
environment: "prod"
3939
runs-on: ubuntu-latest
40+
permissions:
41+
id-token: write
4042

4143
steps:
4244
- name: Download build artifacts
@@ -47,9 +49,6 @@ jobs:
4749

4850
- name: Publish distribution to PyPI
4951
uses: pypa/gh-action-pypi-publish@release/v1
50-
with:
51-
password: ${{ secrets.PYPI_API_TOKEN }}
52-
verbose: true
5352

5453
build-and-publish-docs:
5554
name: Build and publish docs

0 commit comments

Comments
 (0)