Skip to content

Commit

Permalink
Add a publication workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtucker committed Oct 15, 2022
1 parent a227211 commit c54d7b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publication.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publication
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- run: python -m pip install --upgrade tox-gh-actions
- env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: tox -e publish -- upload

0 comments on commit c54d7b7

Please sign in to comment.