Skip to content

Commit 215bc9c

Browse files
committed
Delete flags block in workflows
1 parent bae5408 commit 215bc9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy-project.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
create-ecr:
22-
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
22+
# if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
2323
uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-elastic-container-registry.yml@main
2424
secrets:
2525
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -34,7 +34,7 @@ jobs:
3434

3535
build-push:
3636
needs: create-ecr
37-
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
37+
# if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
3838
uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/build-image-and-push.yml@main
3939
secrets:
4040
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -45,7 +45,7 @@ jobs:
4545

4646
trivy-scan:
4747
needs: build-push
48-
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
48+
# if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
4949
uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/trivy-scan.yml@main
5050
secrets:
5151
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -55,7 +55,7 @@ jobs:
5555

5656
deploy:
5757
needs: trivy-scan
58-
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
58+
# if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
5959
uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-lambda-aws.yml@main
6060
with:
6161
environment: 'production'

0 commit comments

Comments
 (0)