Skip to content

Commit 10c5679

Browse files
committed
CloudFront 무효화 조건문 수정 🛠️✨ CloudFront 배포 ID를 올바르게 참조하도록 조건문을 수정하여 배포 안정성을 높였습니다. 🔍✨ Generated by Copilot
1 parent 0d446b9 commit 10c5679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-optimized.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
--cache-control "max-age=31536000,public"
9494
9595
- name: Invalidate CloudFront
96-
if: secrets.CLOUDFRONT_DISTRIBUTION_ID
96+
if: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }}
9797
run: |
9898
aws cloudfront create-invalidation \
9999
--distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \

0 commit comments

Comments
 (0)