Skip to content

Commit 9735461

Browse files
authored
Add bootcamp images
1 parent 8665118 commit 9735461

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/sync.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
aws s3 sync tracks s3://${{ env.s3_bucket }}/tracks/ --acl public-read --no-progress --cache-control max-age=31536000
3838
aws s3 sync placeholders s3://${{ env.s3_bucket }}/placeholders/ --acl public-read --no-progress --cache-control max-age=31536000
3939
aws s3 sync key-features s3://${{ env.s3_bucket }}/key-features/ --acl public-read --no-progress --cache-control max-age=31536000
40+
aws s3 sync bootcamp s3://${{ env.s3_bucket }}/bootcamp/ --acl public-read --no-progress --cache-control max-age=100
4041
aws s3 sync meta s3://${{ env.s3_bucket }}/meta/ --acl public-read --no-progress --cache-control max-age=31536000
41-
42+
4243
- name: Gather files to invalidate in CloudFront
4344
uses: actions/github-script@d556feaca394842dc55e4734bf3bb9f685482fa0
4445
if: github.event_name == 'push' # Don't run on scheduled runs
@@ -63,6 +64,7 @@ jobs:
6364
file["filename"].startsWith("tracks/") ||
6465
file["filename"].startsWith("placeholders/") ||
6566
file["filename"].startsWith("key-features/") ||
67+
file["filename"].startsWith("bootcamp/") ||
6668
file["filename"].startsWith("meta/")) {
6769
filesToInvalidate.push("/" + file["filename"])
6870
}

0 commit comments

Comments
 (0)