Commit d04cf65a authored by Mark Harding's avatar Mark Harding

(chore): set cache headers on s3 bucket when deploying

parent 25be8190
No related merge requests found
Pipeline #118181412 running with stages
......@@ -294,7 +294,7 @@ review:stop:
- docker:dind
script:
## Sync assets with CDN
- aws s3 sync dist $S3_REPOSITORY_URL
- aws s3 sync dist $S3_REPOSITORY_URL --cache-control max-age=31536000
- $(aws ecr get-login --no-include-email --region us-east-1)
## Update docker server container
- docker login -u gitlab-ci-token -p ${CI_BUILD_TOKEN} ${CI_REGISTRY}
......
Please register or to comment