File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: JSON Library Upload
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ workflow_run :
6
+ workflows : ["JSON Library Sorter and Doc Gen"]
7
+ types :
8
+ - completed
5
9
6
10
jobs :
7
11
librarian :
12
16
- name : Checkout repository
13
17
uses : actions/checkout@v4
14
18
15
- - name : Upload library
19
+ - name : Upload library to Cloudflare
16
20
uses : ryand56/r2-upload-action@latest
17
21
with :
18
22
r2-account-id : ${{ secrets.R2_ACCOUNT_ID }}
22
26
source-dir : ./custom_components/battery_notes/data/
23
27
destination-dir : ./
24
28
25
- - name : Purge cache for latest schema
26
- uses : jakejarvis/cloudflare-purge-action@master
29
+ - name : Cloudflare Purge Cache
30
+ uses : jakejarvis/cloudflare-purge-action@v0.3.0
27
31
env :
28
32
CLOUDFLARE_ZONE : ${{ secrets.CLOUDFLARE_ZONE }}
29
33
CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_TOKEN }}
You can’t perform that action at this time.
0 commit comments