From 9a2a315c9e530f5f81be0f935be64f75cd0a05b7 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Sat, 9 Nov 2024 04:40:29 +0000 Subject: [PATCH] ci: pushing builds to r2 --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42643e5a..168f700b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,9 @@ jobs: aws configure set default.region us-east-1 - name: Push build to R2 - run: aws s3 sync ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} + env: + S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }} + run: aws s3 sync ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --endpoint-url $S3_ENDPOINT - name: Install dependencies run: yarn