From 5a325d0273caaf15880f54f1042be3442a0b7e0f Mon Sep 17 00:00:00 2001 From: Derek Slenk Date: Sun, 29 Jun 2025 22:36:31 -0400 Subject: [PATCH] disable cloudfront deploy for now --- .github/workflows/deploy.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 852b13e..f04cb0c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,14 +40,14 @@ jobs: run: | aws s3 sync public/ s3://angrymichigander.com --delete --no-cli-pager - - name: Invalidate CloudFront cache - run: | - # Get the CloudFront distribution ID for angrymichigander.com - DISTRIBUTION_ID=$(aws cloudfront list-distributions --no-cli-pager --query "DistributionList.Items[?contains(Aliases.Items, 'angrymichigander.com')].Id" --output text) + # - name: Invalidate CloudFront cache + # run: | + # # Get the CloudFront distribution ID for angrymichigander.com + # DISTRIBUTION_ID=$(aws cloudfront list-distributions --no-cli-pager --query "DistributionList.Items[?contains(Aliases.Items, 'angrymichigander.com')].Id" --output text) - if [ ! -z "$DISTRIBUTION_ID" ]; then - echo "Creating CloudFront invalidation for distribution: $DISTRIBUTION_ID" - aws cloudfront create-invalidation --no-cli-pager --distribution-id $DISTRIBUTION_ID --paths "/*" - else - echo "No CloudFront distribution found for angrymichigander.com" - fi + # if [ ! -z "$DISTRIBUTION_ID" ]; then + # echo "Creating CloudFront invalidation for distribution: $DISTRIBUTION_ID" + # aws cloudfront create-invalidation --no-cli-pager --distribution-id $DISTRIBUTION_ID --paths "/*" + # else + # echo "No CloudFront distribution found for angrymichigander.com" + # fi