From 2c7043b783a61b268842a061631c755cf024008f Mon Sep 17 00:00:00 2001 From: aboyko Date: Mon, 31 Jul 2023 15:56:20 -0400 Subject: [PATCH] [GHA-Build] debug clear cache script --- .github/scripts/clear-s3-caches.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/clear-s3-caches.sh b/.github/scripts/clear-s3-caches.sh index 9ffdd7891..42e5996c2 100755 --- a/.github/scripts/clear-s3-caches.sh +++ b/.github/scripts/clear-s3-caches.sh @@ -1,4 +1,5 @@ s3_path=$1 +aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "'${s3_path}'" invalidation_json=`aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "${s3_path}"` echo "Invalidation response: ${invalidation_json}" invalidation_id=`echo $invalidation_json | jq -r '.Invalidation.Id'`