File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
2
2
3
3
on : push
4
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
+
5
10
jobs :
6
11
7
12
build :
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 :
39
44
id-token : write # IMPORTANT: mandatory for trusted publishing
40
45
steps :
97
102
98
103
environment :
99
104
name : testpypi
100
- url : https://test.pypi.org/p/django-community-playground
105
+ url : ${{ env.PYPI_TEST_URL }}
101
106
102
107
permissions :
103
108
id-token : write # IMPORTANT: mandatory for trusted publishing
You can’t perform that action at this time.
0 commit comments