Skip to content

Commit 017ad45

Browse files
authored
Update publish-to-live-pypi.yml
1 parent c12e9da commit 017ad45

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish-to-live-pypi.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
build-n-publish:
1010
name: Build and publish Python 🐍 distributions 📦 to pypi
1111
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/djangocms-googlemap
15+
permissions:
16+
id-token: write
1217
steps:
1318
- uses: actions/checkout@v3
1419
- name: Set up Python 3.10
@@ -34,6 +39,3 @@ jobs:
3439
- name: Publish distribution 📦 to PyPI
3540
if: startsWith(github.ref, 'refs/tags')
3641
uses: pypa/gh-action-pypi-publish@release/v1
37-
with:
38-
user: __token__
39-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)