ci: pushing builds to r2

This commit is contained in:
Chubby Granny Chaser 2024-11-09 04:50:33 +00:00
parent 8012e9cf1f
commit f0271e80c4
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ jobs:
- name: Push build to R2
env:
S3_ENDPOINT: ${{ secrets.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')"
run: aws s3 cp ./docs/screenshot.png 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