Skip to content

Commit

Permalink
Update publish-release-to-pypi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend authored Oct 23, 2024
1 parent 4f59092 commit fe2ae35
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish-release-to-pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Publish Release package to Pypi.org

on:
release:
types: [published]
branches: main


push:
branches:
- main
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/') }} # only publish to test.pypi.org on tagged commits from test branch
Expand Down

0 comments on commit fe2ae35

Please sign in to comment.