ci: pushing builds to r2

This commit is contained in:
Chubby Granny Chaser 2024-11-09 05:12:00 +00:00
parent 97f0847454
commit cd5bd7c3c2
No known key found for this signature in database

View File

@ -32,7 +32,7 @@ jobs:
env:
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
run: |
aws s3 cp s3://${{ vars.BUILDS_BUCKET_NAME }} ./dist --recursive --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
aws s3 cp s3://${{ vars.BUILDS_BUCKET_NAME }} ./docs --recursive --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
- name: Install dependencies
run: yarn