Skip to content

Commit

Permalink
don't publish from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Oct 15, 2024
1 parent 63f498d commit 0522b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Build and Publish
needs: test-app
runs-on: ubuntu-latest
if: github.ref_name == 'main'
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 0522b67

Please sign in to comment.