Skip to content

Commit

Permalink
using a token to publish instead, because apparently pypi wants to be…
Browse files Browse the repository at this point in the history
… Fort Knox now. Freaking ridiculous. Just let me use a damn username and password.
  • Loading branch information
pavelkomarov committed Aug 27, 2024
1 parent 820bbe1 commit 40fda9a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ jobs:
deploy-to-pypi:
runs-on: ubuntu-latest
env:
TWINE_USERNAME: pavelkomarov
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: |
echo $TWINE_USERNAME
pip install build wheel twine
python -m build
twine upload --verbose dist/*
twine upload dist/*

0 comments on commit 40fda9a

Please sign in to comment.