From 6d7c32c6e24f317e914cecf71cbe6605762cf76f Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sat, 9 Nov 2024 05:21:00 +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 4136f3c1..7b14f165 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: env: S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }} run: | - aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --recursive --exclude "*" --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')" + aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }}/$GITHUB_SHA --recursive --exclude "*" --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')" - name: Install dependencies run: yarn