Skip to content

Commit 554cd78

Browse files
committed
deploy to ref
1 parent 550e3d3 commit 554cd78

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
needs: get_issue_number
6060
uses: ./.github/workflows/sam_package_code.yml
6161

62-
release_code:
62+
release_dev:
6363
needs: [get_issue_number, package_code, get_commit_id]
6464
uses: ./.github/workflows/sam_release_code.yml
6565
with:
@@ -74,3 +74,18 @@ jobs:
7474
ENABLE_ALERTS: false
7575
secrets:
7676
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_DEPLOY_ROLE }}
77+
release_ref:
78+
needs: [release_dev, package_code, get_commit_id]
79+
uses: ./.github/workflows/sam_release_code.yml
80+
with:
81+
ARTIFACT_BUCKET_PREFIX: fhir-validator-PR-${{needs.get_issue_number.outputs.issue_number}}
82+
STACK_NAME: fhir-validator
83+
TARGET_ENVIRONMENT: ref
84+
BUILD_ARTIFACT: packaged_code
85+
VERSION_NUMBER: fhir-validator-PR-${{ needs.get_issue_number.outputs.issue_number }}
86+
COMMIT_ID: ${{needs.get_commit_id.outputs.commit_id}}
87+
LOG_LEVEL: INFO
88+
LOG_RETENTION_DAYS: 30
89+
ENABLE_ALERTS: true
90+
secrets:
91+
CLOUD_FORMATION_DEPLOY_ROLE: ${{ secrets.REF_CLOUD_FORMATION_DEPLOY_ROLE }}

0 commit comments

Comments
 (0)