File tree 2 files changed +0
-14
lines changed
2 files changed +0
-14
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -31,17 +31,3 @@ aws s3 cp build/html/_static s3://${AWS_BUCKET}/_static/ --recursive ${AWS_OPTIO
31
31
# Upload static content to assets directory
32
32
aws s3 cp build/html/_images s3://${AWS_BUCKET} /assets/_images/ --recursive ${AWS_OPTIONS}
33
33
aws s3 cp build/html/_static s3://${AWS_BUCKET} /assets/_static/ --recursive ${AWS_OPTIONS}
34
-
35
- # Create function for security headers, redirects, etc.
36
- ETAG=$(
37
- aws cloudfront create-function \
38
- --name headers-function \
39
- --function-config Comment=" Headers function" ,Runtime=" cloudfront-js-1.0" \
40
- --function-code fileb://.lambda-functions/headers.js \
41
- --query " ETag" \
42
- --output text
43
- )
44
-
45
- aws cloudfront publish-function \
46
- --name headers-function \
47
- --if-match ${ETAG}
You can’t perform that action at this time.
0 commit comments