Commit d5f5480 1 parent 44d4ad0 commit d5f5480 Copy full SHA for d5f5480
File tree 2 files changed +3
-192
lines changed
2 files changed +3
-192
lines changed Original file line number Diff line number Diff line change 2
2
name : " 🔄 Rclone"
3
3
on :
4
4
push :
5
+ branches : [main]
5
6
paths :
6
7
- " lib/**"
7
8
workflow_dispatch : {}
@@ -14,30 +15,15 @@ jobs:
14
15
sync :
15
16
if : github.repository == 'z-shell/zi-src'
16
17
runs-on : ubuntu-latest
17
- environment : " cloud-storage"
18
18
env :
19
19
local_path : " lib"
20
- r2_remote_path : " r2store:r2-store/src"
21
- # cdn_remote_path: "cdn:digital-space/src"
22
- # cdn_us_central_remote_path: "cdn-us-central:gcp-space/src"
20
+ remote_path : " r2:r2-store/src"
23
21
steps :
24
22
- name : " ⤵️ Check out code from GitHub"
25
23
26
24
- name : " ⏫ Run rclone/r2-store"
27
25
uses : z-shell/.github/actions/rclone@56c2250b6e49c6d510a9dc4107ea8ad3b9135c2f
28
26
with :
29
27
config : ${{ secrets.R2_STORE }}
30
- args : " copy ${{ env.local_path }} ${{ env.r2_remote_path }}"
28
+ args : " copy ${{ env.local_path }} ${{ env.remote_path }}"
31
29
debug : false
32
- # - name: "⏫ Run rclone/cdn"
33
- # uses: z-shell/.github/actions/[email protected]
34
- # with:
35
- # config: ${{ secrets.CDN_STORE }}
36
- # args: "sync ${{ env.local_path }} ${{ env.cdn_remote_path }}"
37
- # debug: false
38
- # - name: "⏫ Run rclone/cdn_us_central_remote_path"
39
- # uses: z-shell/.github/actions/[email protected]
40
- # with:
41
- # config: ${{ secrets.GCP_STORE }}
42
- # args: "sync ${{ env.local_path }} ${{ env.cdn_us_central_remote_path }}"
43
- # debug: false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments