Skip to content

Commit

Permalink
use twine token on deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
dioph committed Aug 22, 2024
1 parent 9bb39a9 commit cdcf9b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/periodicity-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Upload Python Package
on:
release:
types: [created]
workflow_dispatch:

jobs:
deploy:
Expand All @@ -19,8 +20,8 @@ jobs:
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit cdcf9b7

Please sign in to comment.