Skip to content

Commit

Permalink
feat: Publish configs to R2
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 8, 2024
1 parent fbc640b commit ba4483b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba4483b

Please sign in to comment.