Skip to content

Commit

Permalink
Updating pypi api token publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee authored May 19, 2024
1 parent 7e0bb23 commit 6526bb9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ jobs:
run: |
tox -e clean
tox -e build
- name: tox publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine check dist/*
tox -e publish -- --repository pypi
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 6526bb9

Please sign in to comment.