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