Skip to content

Commit

Permalink
Don't deploy if from main ref
Browse files Browse the repository at this point in the history
  • Loading branch information
craig8 committed May 12, 2023
1 parent 8409b54 commit 156af56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
jobs:

deploy-pre-release:
if: github.ref_name != 'main'
runs-on: ubuntu-22.04
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
Expand Down

0 comments on commit 156af56

Please sign in to comment.