From 07d006d8b34188b75723b85fa9843dafe0aca98b Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 29 Sep 2023 13:43:38 -0400 Subject: [PATCH] GHA: correction - draft upload of nightly-distributions page --- .github/scripts/clear-s3-caches-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/clear-s3-caches-file.sh b/.github/scripts/clear-s3-caches-file.sh index 5ff66130e..b9c8a9bc5 100755 --- a/.github/scripts/clear-s3-caches-file.sh +++ b/.github/scripts/clear-s3-caches-file.sh @@ -4,7 +4,7 @@ file=$1 echo "Clearing S3 caches for file: ${file}" #Flush AWS Cloudfront Cache -invalidation_json=`aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "${file}"` +invalidation_json=`aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "/${file}"` echo "Invalidation response: ${invalidation_json}" invalidation_id=`echo $invalidation_json | jq -r '.Invalidation.Id'` invalidation_status=`echo $invalidation_json | jq -r '.Invalidation.Status'`