Skip to content

Commit 93f7447

Browse files
authored
Try to use api token to publish artifacts
1 parent e6bac30 commit 93f7447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
cat linebot/__about__.py
3333
- name: Build and publish
3434
env:
35-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
36-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
35+
TWINE_USERNAME: ${{ secrets.PYPI_API_USER }}
36+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3737
run: |
3838
python setup.py sdist bdist_wheel
3939
twine upload dist/*

0 commit comments

Comments
 (0)