Skip to content

Commit 8b15c65

Browse files
committed
1 parent ecb27ef commit 8b15c65

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
@@ -93,6 +93,12 @@ jobs:
9393
packaging:
9494
needs: ci
9595
runs-on: ubuntu-latest
96+
environment:
97+
name: PyPI
98+
url: https://pypi.org/p/jsonschema
99+
permissions:
100+
contents: write
101+
id-token: write
96102

97103
steps:
98104
- uses: actions/checkout@v3
@@ -109,8 +115,6 @@ jobs:
109115
- name: Publish to PyPI
110116
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
111117
uses: pypa/gh-action-pypi-publish@release/v1
112-
with:
113-
password: ${{ secrets.pypi_password }}
114118
- name: Create a Release
115119
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
116120
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)