From 89850848cbf7783e5c85348ff18f7cd11d60231a Mon Sep 17 00:00:00 2001 From: Logan Jones Date: Sun, 15 Feb 2026 12:24:14 -0600 Subject: [PATCH] feat(ci): upload release artifacts to Cloudflare R2 (#65) After publishing to the GitHub Release, upload the built binaries to the yellowjacket-releases R2 bucket for the download static site. --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63cf5c4..099ed80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -174,3 +174,13 @@ jobs: artifacts/release/yellowjacket-linux-amd64 artifacts/release/yellowjacket-darwin-universal.app.zip artifacts/release/yellowjacket-windows-amd64.exe + + - name: Upload to R2 + uses: ryand56/r2-upload-action@v1 + with: + r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} + r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} + r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} + r2-bucket: yellowjacket-releases + source-dir: artifacts/release + destination-dir: releases/${{ github.event.release.tag_name }}