Skip to content

Commit 4a24242

Browse files
authored
[NDR-180] Missing Condition in GitHub Action for GET FHIR Lambda Deployment (#697)
* [NDR-180] add missing if condition to GitHub action
1 parent 95ad6c8 commit 4a24242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/base-lambdas-reusable-deploy-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ jobs:
211211
secrets:
212212
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
213213

214-
215214
deploy_logout_handler_lambda:
216215
name: Deploy LogoutHandler
217216
uses: ./.github/workflows/base-lambdas-reusable-deploy.yml
@@ -410,6 +409,7 @@ jobs:
410409

411410
deploy_get_document_reference_lambda:
412411
name: Deploy get fhir document reference lambda
412+
if: inputs.environment == 'development' || inputs.environment == 'test'
413413
uses: ./.github/workflows/base-lambdas-reusable-deploy.yml
414414
with:
415415
environment: ${{ inputs.environment}}
@@ -547,4 +547,4 @@ jobs:
547547
lambda_aws_name: IMAlertingLambda
548548
lambda_layer_names: 'alerting_lambda_layer'
549549
secrets:
550-
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
550+
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}

0 commit comments

Comments
 (0)