Skip to content

Commit 5df3ae3

Browse files
committed
🎨 use PyPI and GitHub integration instead of secret api token
1 parent 0f3d369 commit 5df3ae3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,9 @@ jobs:
119119
with:
120120
name: artifact
121121
path: ./dist
122-
122+
# register PyPI integration:
123+
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
123124
- uses: pypa/gh-action-pypi-publish@release/v1
124125
with:
125126
# remove repository key to set the default to pypi (not test.pypi.org)
126127
repository-url: https://test.pypi.org/legacy/
127-
user: __token__
128-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)