mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-09 03:37:45 +03:00
ci: pushing builds to r2
This commit is contained in:
parent
ed1d59f0d0
commit
d96c1e36cd
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -31,7 +31,8 @@ jobs:
|
||||
- name: Push build to R2
|
||||
env:
|
||||
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
|
||||
run: aws s3 cp ./docs/screenshot.png s3://${{ vars.BUILDS_BUCKET_NAME }}/screenshot-$GITHUB_SHA.png --endpoint-url $S3_ENDPOINT --expires "$(date -d "7 days" --utc +'%Y-%m-%dT%H:%M:%SZ')"
|
||||
run: |
|
||||
aws s3 cp ./dist --recursive --include "*.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
|
||||
|
Loading…
Reference in New Issue
Block a user