From 8012e9cf1f1bb95fe7f759e242d489332110cec4 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sat, 9 Nov 2024 04:47:22 +0000 Subject: [PATCH] ci: pushing builds to r2 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 168f700b..5f99fb33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - name: Push build to R2 env: S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }} - run: aws s3 sync ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --endpoint-url $S3_ENDPOINT + run: aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')" - name: Install dependencies run: yarn