Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ef211c3

Browse files
authoredApr 17, 2023
switch to deploy environment and configure for pypi oidc
closes #10871 closes #10870
1 parent 2d6206b commit ef211c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919

2020
runs-on: ubuntu-latest
2121
timeout-minutes: 30
22+
environment: deploy
2223
permissions:
2324
contents: write
25+
id-token: write # for pypi oidc publish
2426

2527
steps:
2628
- uses: actions/checkout@v3
@@ -39,8 +41,6 @@ jobs:
3941

4042
- name: Publish package to PyPI
4143
uses: pypa/gh-action-pypi-publish@release/v1
42-
with:
43-
password: ${{ secrets.pypi_token }}
4444

4545
- name: Set up Python
4646
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)
Please sign in to comment.