Skip to content

Commit e8e8248

Browse files
committed
fix: add checksum
1 parent e485518 commit e8e8248

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy-fe.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ jobs:
5454
--exclude "index.html" \
5555
--delete \
5656
--acl public-read \
57-
--cache-control "max-age=31536000, immutable"
57+
--cache-control "max-age=31536000, immutable" \
58+
--checksum-mode WHEN_REQUIRED
5859
5960
# 2. index.html - 캐시 없음 (항상 최신 버전 유지)
6061
aws s3 sync frontend/dist/ s3://${{ secrets.NCP_BUCKET }}/ \
6162
--endpoint-url ${{ secrets.NCP_ENDPOINT }} \
6263
--exclude "*" \
6364
--include "index.html" \
6465
--acl public-read \
65-
--cache-control "no-cache, no-store, must-revalidate"
66+
--cache-control "no-cache, no-store, must-revalidate" \
67+
--checksum-mode WHEN_REQUIRED
6668
6769
- name: Deployment summary
6870
run: |

0 commit comments

Comments
 (0)