Skip to content

Commit

Permalink
deploy frontend from main branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 1, 2024
1 parent 510037f commit 6b1bda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

deploy-frontend:
needs: detect-changes
if: github.ref != 'refs/heads/main' && needs.detect-changes.outputs.run-frontend == 'true'
if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-frontend == 'true'
uses: ./.github/workflows/deploy-frontend.yaml
with:
aws_region: us-east-1
Expand Down

0 comments on commit 6b1bda1

Please sign in to comment.