ci: pushing builds to r2

This commit is contained in:
Chubby Granny Chaser 2024-11-09 04:40:29 +00:00
parent 3df845424a
commit 9a2a315c9e
No known key found for this signature in database

View file

@ -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