From af870b91049c9142cb8fddd95e2c142522c8abd8 Mon Sep 17 00:00:00 2001 From: Jo Date: Thu, 4 Apr 2024 13:41:15 -0400 Subject: [PATCH] backend troubleshooting --- .github/workflows/primary.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/primary.yaml b/.github/workflows/primary.yaml index 30867865f..74804ea57 100644 --- a/.github/workflows/primary.yaml +++ b/.github/workflows/primary.yaml @@ -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: @@ -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