Skip to content

Commit cfe4726

Browse files
committed
1 parent 5bc6f57 commit cfe4726

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ jobs:
7474
packaging:
7575
needs: ci
7676
runs-on: ubuntu-latest
77+
environment:
78+
name: PyPI
79+
url: https://pypi.org/p/referencing
80+
permissions:
81+
contents: write
82+
id-token: write
7783

7884
steps:
7985
- uses: actions/checkout@v3
@@ -88,8 +94,6 @@ jobs:
8894
- name: Publish to PyPI
8995
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
9096
uses: pypa/gh-action-pypi-publish@release/v1
91-
with:
92-
password: ${{ secrets.pypi_password }}
9397
- name: Create a Release
9498
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
9599
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)