Skip to content

Commit

Permalink
backend troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 4, 2024
1 parent 0a9adf6 commit af870b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

deploy-backend:
needs: detect-changes
if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-backend == 'true'
if: github.ref != 'refs/heads/main' && needs.detect-changes.outputs.run-backend == 'true'
strategy:
max-parallel: 1
matrix:
Expand All @@ -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 af870b9

Please sign in to comment.