Skip to content

Commit

Permalink
pip release: use tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
aguinet committed Apr 1, 2024
1 parent f9a10c5 commit 74a444f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
python ./setup.py bdist_wheel
- name: Publish to Pypi
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
echo cli/dist/* api/dist/* webapp/dist/*
twine upload cli/dist/* api/dist/* webapp/dist/*
TWINE_PASSWORD='${{ secrets.PYPI_SECSEND }}' twine upload cli/dist/*
TWINE_PASSWORD='${{ secrets.PYPI_SECSEND_API }}' twine upload api/dist/*
TWINE_PASSWORD='${{ secrets.PYPI_SECSEND_WEBAPP }}' twine upload webapp/dist/*
publish_docker:

Expand Down

0 comments on commit 74a444f

Please sign in to comment.