Skip to content

Commit

Permalink
fix: just call mcli for r2 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Jun 3, 2024
1 parent d06054b commit 0fb5f3c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-katsu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ env:
podman
buildah
katsu
https://dl.min.io/client/mc/release/linux-arm64/mcli-20240524090849.0.0-1.aarch64.rpm
on:
push:
Expand Down Expand Up @@ -239,11 +240,6 @@ jobs:
done
- name: Upload to R2
uses: mamal72/minio-perfect-deploy-action@main
with:
endpoint: ${{ secrets.S3_ENDPOINT }}
access_key: ${{ secrets.S3_KEY_ID }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
bucket: "images"
source_dir: "images"
target_dir: "/"
run: |
mcli alias set r2 '${{ secrets.S3_ENDPOINT }}' '${{ secrets.S3_KEY_ID }}' '${{ secrets.S3_SECRET_KEY }}'
mcli mirror --overwrite images 'r2/images'

0 comments on commit 0fb5f3c

Please sign in to comment.