From 2cda43edc9571a83331813acb7821191a31b5f9e Mon Sep 17 00:00:00 2001 From: Deco Vander Date: Thu, 3 Jul 2025 00:11:08 -0400 Subject: [PATCH] Fix S3 upload: remove ACL parameters for bucket without ACL support - Removed --acl public-read parameters from GitHub Action - S3 bucket policy handles public access instead of ACLs - Should resolve AccessControlListNotSupported error --- .github/workflows/deploy-scripts.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/deploy-scripts.yml b/.github/workflows/deploy-scripts.yml index f822b3d..95ad2e7 100644 --- a/.github/workflows/deploy-scripts.yml +++ b/.github/workflows/deploy-scripts.yml @@ -31,7 +31,6 @@ jobs: run: | # Upload the main deployment script aws s3 cp scripts/deploy.sh s3://${{ secrets.S3_BUCKET_NAME }}/scripts/deploy.sh \ - --acl public-read \ --content-type "text/plain" \ --cache-control "max-age=300" \ --metadata-directive REPLACE \ @@ -39,13 +38,11 @@ jobs: # Upload systemd service file aws s3 cp scripts/icewatch.service s3://${{ secrets.S3_BUCKET_NAME }}/scripts/icewatch.service \ - --acl public-read \ --content-type "text/plain" \ --cache-control "max-age=3600" # Upload Caddyfile aws s3 cp scripts/Caddyfile s3://${{ secrets.S3_BUCKET_NAME }}/scripts/Caddyfile \ - --acl public-read \ --content-type "text/plain" \ --cache-control "max-age=3600"