Skip to content

Commit

Permalink
temporarily run all steps on add-tf-iac branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 17, 2024
1 parent 7e0edf5 commit a99af34
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

apply-iac:
needs: detect-changes
if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-iac == 'true'
if: github.ref == 'refs/heads/add-tf-iac' && needs.detect-changes.outputs.run-iac == 'true'
strategy:
max-parallel: 1
matrix:
Expand All @@ -70,12 +70,12 @@ jobs:

ci-tests:
needs: detect-changes
if: github.ref == 'refs/heads/main' && (needs.detect-changes.outputs.run-backend == 'true' || needs.detect-changes.outputs.run-frontend == 'true')
if: github.ref == 'refs/heads/add-tf-iac' && (needs.detect-changes.outputs.run-backend == 'true' || needs.detect-changes.outputs.run-frontend == 'true')
uses: ./.github/workflows/ci-tests.yaml

verify-backend:
needs: detect-changes
if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-iac == 'true'
if: github.ref != 'refs/heads/main' && needs.detect-changes.outputs.run-iac == 'true'
strategy:
max-parallel: 1
matrix:
Expand All @@ -90,6 +90,7 @@ jobs:

deploy-backend:
needs: detect-changes
if: github.ref == 'refs/heads/add-tf-iac' && needs.detect-changes.outputs.run-backend == 'true'
strategy:
max-parallel: 1
matrix:
Expand All @@ -104,6 +105,7 @@ jobs:

deploy-frontend:
needs: detect-changes
if: github.ref == 'refs/heads/add-tf-iac' && 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 a99af34

Please sign in to comment.