From ba4483b5ecf12d0ce0e53deb4a271c82259e6d46 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 7 Oct 2024 21:24:12 -0400 Subject: [PATCH] feat: Publish configs to R2 --- .github/workflows/publish-assets.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/publish-assets.yml b/.github/workflows/publish-assets.yml index 0f1c633a7..a991e7dcc 100644 --- a/.github/workflows/publish-assets.yml +++ b/.github/workflows/publish-assets.yml @@ -24,6 +24,22 @@ jobs: input: proto buf_token: ${{ secrets.BUF_TOKEN }} + upload_configs: + runs-on: ubuntu-latest + name: Publish to configs.sonr.id + steps: + - name: checkout + uses: actions/checkout@v4 + - name: Upload to R2 + uses: ryand56/r2-upload-action@latest + 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: configs + source-dir: config + destination-dir: ./pkl + upload_pkl: runs-on: ubuntu-latest name: Publish to pkl.sh