Skip to content

Commit

Permalink
add workflow to sync to cloudflare r2
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba committed Jul 21, 2024
1 parent d0cb087 commit e3c1125
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,13 @@ jobs:
name: eweos-${{ matrix.arch }}-${{ matrix.variant }}
path: results/
compression-level: 0
- name: Upload Cloudflare R2
uses: ryand56/r2-upload-action@latest
if: github.event_name != 'pull_request'
with:
r2-account-id: ${{ secrets.CF_IMG_R2_ACCOUNT_ID }}
r2-access-key-id: ${{ secrets.CF_IMG_R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.CF_IMG_R2_SECRET_ACCESS_KEY }}
r2-bucket: ewe
source-dir: results
destination-dir: ./eweos-images/

0 comments on commit e3c1125

Please sign in to comment.