Skip to content

Commit d52e2df

Browse files
Merge #917
917: Update CI to publish to pypi r=sanders41 a=curquiza Fixes #915 Co-authored-by: curquiza <[email protected]>
2 parents 61c6f33 + 3abccb2 commit d52e2df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/pypi-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
pipenv run pip3 install build setuptools wheel twine
2626
- name: Build and publish
2727
env:
28-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
29-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
28+
TWINE_USERNAME: __token__
29+
TWINE_PASSWORD: "pypi-${{ secrets.PYPI_API_TOKEN }}"
3030
run: |
3131
pipenv run python3 -m build
3232
pipenv run twine upload dist/*

0 commit comments

Comments
 (0)