ci: pushing builds to r2

This commit is contained in:
Chubby Granny Chaser 2024-11-09 05:19:13 +00:00
parent a753840c87
commit 5b3109b9f4
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 ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --recursive --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
aws s3 cp ./docs s3://${{ vars.BUILDS_BUCKET_NAME }} --recursive --exclude "*" --include "*.png" --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
- name: Install dependencies
run: yarn