[GHA-Build] debug clear cache script
This commit is contained in:
2
.github/scripts/clear-s3-caches.sh
vendored
2
.github/scripts/clear-s3-caches.sh
vendored
@@ -1,5 +1,5 @@
|
||||
s3_path=$1
|
||||
aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths "${s3_path}/*"
|
||||
aws cloudfront create-invalidation --distribution-id ECAO9Q8651L8M --output json --paths 'release/TOOLS/sts4-language-server-integrations/2023-07-31/*'
|
||||
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'`
|
||||
|
||||
Reference in New Issue
Block a user