Skip to content

Commit 9cf3cd6

Browse files
authored
feat: s3 업로드시 캐시 컨트롤 메타데이터 추가 (#44)
1 parent 6e0ef18 commit 9cf3cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# 6. S3 버킷으로 빌드 결과물 배포
5050
- name: Deploy to S3
51-
run: aws s3 sync ./apps/web/dist s3://${{ env.S3_BUCKET_NAME }} --delete
51+
run: aws s3 sync ./apps/web/dist s3://${{ env.S3_BUCKET_NAME }} --delete --cache-control "max-age=31536000,public"
5252

5353
# 7. CloudFront 캐시 무효화
5454
- name: Invalidate CloudFront Cache

0 commit comments

Comments
 (0)