We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40c3a0f commit 696aa49Copy full SHA for 696aa49
ci/site/6-invalidate-cache.sh
@@ -12,7 +12,7 @@ AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}"
12
AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION}"
13
14
echo "Invalidating Cache..."
15
-if ! RESULT="$(aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --path /)"; then
+if ! RESULT="$(aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --path /*)"; then
16
echo "${RESULT}"
17
echo "Invalidation Failure!"
18
exit 1
0 commit comments