Skip to content

Commit 18755d3

Browse files
committed
cacheControl required
1 parent 6210367 commit 18755d3

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/ab-testing-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ on:
1616
- '.github/workflows/ab-testing-*.yml'
1717

1818
jobs:
19-
build:
19+
dictionaries-ci:
2020
runs-on: ubuntu-latest
21-
name: Build
21+
name: Dictionaries CI
2222
defaults:
2323
run:
2424
working-directory: ab-testing
@@ -55,8 +55,8 @@ jobs:
5555
name: ab-testing-build
5656
path: ab-testing/dist
5757

58-
build-lambda:
59-
name: Build Lambda
58+
lambda-ci:
59+
name: Deploy Lambda CI
6060
runs-on: ubuntu-latest
6161
defaults:
6262
run:
@@ -78,8 +78,8 @@ jobs:
7878
name: ab-testing-lambda-build
7979
path: ab-testing/dictionary-deploy-lambda/dist
8080

81-
build-ui:
82-
name: UI build
81+
ui-ci:
82+
name: UI CI
8383
runs-on: ubuntu-latest
8484
defaults:
8585
run:
@@ -104,7 +104,7 @@ jobs:
104104

105105
riff-raff:
106106
runs-on: ubuntu-latest
107-
needs: [build, build-ui, build-lambda]
107+
needs: [dictionaries-ci, ui-ci, lambda-ci]
108108
permissions:
109109
id-token: write
110110
contents: read

ab-testing/cdk/bin/cdk.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ deployments.set(abTestingArtifactDeployment, {
4040
stacks: new Set(["frontend"]),
4141
parameters: {
4242
bucketSsmKey: "/account/services/dotcom-store.bucket",
43+
cacheControl: "public, max-age=315360000",
4344
prefixStack: false,
4445
publicReadAcl: false,
4546
},

0 commit comments

Comments
 (0)