Skip to content

Commit

Permalink
fix: trigger pypi release on release
Browse files Browse the repository at this point in the history
(hopefully)
  • Loading branch information
OBrink committed Sep 21, 2023
1 parent 82f791a commit 7b1eb37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Publish Python distributions to PyPI

on:
release:
types: [published]
types: [published, created]
workflow_dispatch:

jobs:
build-n-publish:
Expand All @@ -21,4 +22,4 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@v2.0.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 7b1eb37

Please sign in to comment.