Skip to content

Commit c0c721d

Browse files
committed
ci(gitlhub): Only run production job on main branch
1 parent 569451d commit c0c721d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/frontend.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
prod:
9595
needs: test
9696
runs-on: ubuntu-latest
97+
if: github.ref == 'refs/heads/main'
9798

9899
strategy:
99100
matrix:

0 commit comments

Comments
 (0)