shldhee / note

개인노트
0 stars 0 forks source link

Cloud Front CLI invalidation 추가 #14

Open shldhee opened 2 years ago

shldhee commented 2 years ago
"deploy:dev": "cp ./.env.dev ./.env && yarn build && eb deploy ${EB Deploy Name} --region us-west-1 --profile ${AWS Profile ID} && yarn invalidation:dev",

"invalidation:dev": "aws cloudfront create-invalidation --distribution-id ${CloudFrontID} --paths '/*' --profile ${AWS Profile ID}",