Skip to content

Commit

Permalink
Only publish from main
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo authored Feb 10, 2024
1 parent 5c040f6 commit 420cfe1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Upload Python Package


on:
workflow_dispatch:
push:
tags:
- '*'
- 'v[0-9]\.[0-9]+\.[0-9]+'

jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 420cfe1

Please sign in to comment.