Skip to content

Commit

Permalink
Fix release type for github workflows, switch to new auth (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
SlouchyButton authored Aug 20, 2024
1 parent aff8c9b commit d2f7c0a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
name: Publish Python 🐍 distributions 📦 to PyPI

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

jobs:
build-n-publish:
Expand All @@ -31,6 +32,4 @@ jobs:
# https://github.com/pypa/gh-action-pypi-publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
# secrets.PYPI_API_TOKEN is set to usercont-release-bot user token
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true

0 comments on commit d2f7c0a

Please sign in to comment.