We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a64dc5d commit 66ead65Copy full SHA for 66ead65
.github/workflows/release.yml
@@ -2,6 +2,11 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
2
3
on: push
4
5
+env:
6
+ # Change these for your project's URLs
7
+ PYPI_URL: https://pypi.org/p/django-community-playground
8
+ PYPI_TEST_URL: https://test.pypi.org/p/django-community-playground
9
+
10
jobs:
11
12
build:
@@ -34,7 +39,7 @@ jobs:
34
39
runs-on: ubuntu-latest
35
40
environment:
36
41
name: pypi
37
- url: https://pypi.org/p/django-community-playground
42
+ url: ${{ env.PYPI_URL }}
38
43
permissions:
44
id-token: write # IMPORTANT: mandatory for trusted publishing
45
steps:
@@ -97,7 +102,7 @@ jobs:
97
102
98
103
99
104
name: testpypi
100
- url: https://test.pypi.org/p/django-community-playground
105
+ url: ${{ env.PYPI_TEST_URL }}
101
106
107
108
0 commit comments