Skip to content

Commit 21f27de

Browse files
authored
Merge pull request #59 from djarecka/GA_pypi
changing way of verification
2 parents a5860c8 + 21bc985 commit 21f27de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Upload Python Package
55

66
on:
77
release:
8-
types: [created]
8+
types: [published]
99

1010
jobs:
1111
deploy:
@@ -24,8 +24,8 @@ jobs:
2424
pip install setuptools twine pyyaml build
2525
- name: Build and publish
2626
env:
27-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
27+
TWINE_USERNAME: __token__
28+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2929
run: |
3030
python -m build
3131
twine upload dist/*

0 commit comments

Comments
 (0)