-
-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (25 loc) · 1.1 KB
/
assets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Assets
on:
push:
branches:
- master
jobs:
deploy-assets:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: |
r2 object put wharfkit/chain/eos.png -f assets/chain/eos.png
r2 object put wharfkit/chain/fio.png -f assets/chain/fio.png
r2 object put wharfkit/chain/jungle.png -f assets/chain/jungle.png
r2 object put wharfkit/chain/libre.png -f assets/chain/libre.png
r2 object put wharfkit/chain/proton.png -f assets/chain/proton.png
r2 object put wharfkit/chain/telos.png -f assets/chain/telos.png
r2 object put wharfkit/chain/ux.png -f assets/chain/ux.png
r2 object put wharfkit/chain/wax.png -f assets/chain/wax.png