File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ jobs:
4949 AWS_SECRET_ACCESS_KEY : ${{ secrets.NCP_SECRET_KEY }}
5050 run : |
5151 # 1. 정적 자원 (JS, CSS, 이미지) - 1년 캐시 (index.html 제외)
52- aws s3 sync frontend/dist/ s3://${{ secrets.NCP_BUCKET }}/{{ secrets.NCP_BUCKET_ROOT }} \
52+ aws s3 sync frontend/dist/ s3://${{ secrets.NCP_BUCKET }}/$ {{ secrets.NCP_BUCKET_ROOT }} \
5353 --endpoint-url ${{ secrets.NCP_ENDPOINT }} \
5454 --exclude "index.html" \
5555 --delete \
5656 --acl public-read \
5757 --cache-control "max-age=31536000, immutable" \
5858
5959 # 2. index.html - 캐시 없음 (항상 최신 버전 유지)
60- aws s3 sync frontend/dist/ s3://${{ secrets.NCP_BUCKET }}/{{ secrets.NCP_BUCKET_ROOT }} \
60+ aws s3 sync frontend/dist/ s3://${{ secrets.NCP_BUCKET }}/$ {{ secrets.NCP_BUCKET_ROOT }} \
6161 --endpoint-url ${{ secrets.NCP_ENDPOINT }} \
6262 --exclude "*" \
6363 --include "index.html" \
You can’t perform that action at this time.
0 commit comments