Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 2c83e54

Browse files
mabreuortegaMiguel Abreu
andauthored
fix: rename pre_deploy yo post_build (#848)
Co-authored-by: Miguel Abreu <miabreu@amazon.com>
1 parent e22acc7 commit 2c83e54

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ phases:
1616
commands:
1717
- ./test.sh
1818

19-
pre_deploy:
19+
post_build:
2020
commands:
2121
- ./install.sh --production
2222

cdk/bin/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const frontend = new FrontendStack(app, "Frontend", {
5151
appClientId: auth.appClientId,
5252
backendApiUrl: backend.restApi.url,
5353
authenticationRequired: authenticationRequired,
54+
adminEmail: auth.adminEmail,
5455
});
5556

5657
const operations = new OpsStack(app, "Ops", {

cdk/lib/frontend-stack.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface Props extends cdk.StackProps {
1717
appClientId: string;
1818
backendApiUrl: string;
1919
authenticationRequired: boolean;
20+
adminEmail: string;
2021
}
2122

2223
export class FrontendStack extends cdk.Stack {
@@ -159,7 +160,7 @@ export class FrontendStack extends cdk.Stack {
159160
DATASETS_BUCKET: props.datasetsBucket,
160161
CONTENT_BUCKET: props.contentBucket,
161162
IDENTITY_POOL_ID: props.identityPoolId,
162-
CONTACT_EMAIL: "support@example.com",
163+
CONTACT_EMAIL: props.adminEmail,
163164
BRAND_NAME: "Performance Dashboard",
164165
TOPIC_AREA_LABEL: "Topic area",
165166
TOPIC_AREAS_LABEL: "Topic areas",

0 commit comments

Comments
 (0)