Skip to content

Commit 870307c

Browse files
committed
Update technical's ci to deploy using trusted publishing
1 parent e824bd6 commit 870307c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,14 @@ jobs:
198198
python setup.py sdist bdist_wheel
199199
200200
- name: Publish to PyPI (Test)
201-
uses: pypa/gh-action-pypi-publish@master
201+
uses: pypa/gh-action-pypi-publish@v1.8.11
202202
if: (github.event_name == 'release')
203203
with:
204-
user: __token__
205-
password: ${{ secrets.pypi_test_password }}
206-
repository_url: https://test.pypi.org/legacy/
204+
repository-url: https://test.pypi.org/legacy/
207205

208206
- name: Publish to PyPI
209-
uses: pypa/gh-action-pypi-publish@master
207+
uses: pypa/gh-action-pypi-publish@v1.8.11
210208
if: (github.event_name == 'release')
211-
with:
212-
user: __token__
213-
password: ${{ secrets.pypi_password }}
214-
215209

216210
- name: Discord notification
217211
uses: rjstone/discord-webhook-notify@v1

0 commit comments

Comments
 (0)