From 11c69f24ce0bb40f99c12d4e2ba58f6c1f9d0aa1 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 12 May 2023 09:31:46 +0000 Subject: [PATCH] Set public acl, fix host-bucket --- .github/workflows/debian-cache.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debian-cache.yml b/.github/workflows/debian-cache.yml index 083d03b..89460cd 100644 --- a/.github/workflows/debian-cache.yml +++ b/.github/workflows/debian-cache.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt install s3cmd - name: Upload cache - run: s3cmd put /home/runner/debian.cache s3://out-of-tree/1.0.0 --host=fra1.digitaloceanspaces.com --access_key=${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }} --secret_key=${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }} + run: s3cmd put --acl-public /home/runner/debian.cache s3://out-of-tree/1.0.0/ --host=fra1.digitaloceanspaces.com --host-bucket='%(bucket)s.fra1.digitaloceanspaces.com' --access_key=${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }} --secret_key=${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }} - name: Archive cache uses: actions/upload-artifact@v3