-
-
Notifications
You must be signed in to change notification settings - Fork 3
29 lines (29 loc) · 998 Bytes
/
rclone.yaml
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
28
29
name: rclone daily sync
on:
schedule:
- cron: '0 0 * * *'
jobs:
rclone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: rclone - lsd google
uses: wei/[email protected]
env:
RCLONE_CONF: ${{ secrets.RCLONE_CONF }}
RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS }}
with:
args: 'tree --color --dirs-only --human --level 3 google:'
- name: rclone - lsd azure
uses: wei/[email protected]
env:
RCLONE_CONF: ${{ secrets.RCLONE_CONF }}
with:
args: 'tree --color --dirs-only --human --level 3 azure:'
- name: rclone - google to azure
uses: wei/[email protected]
env:
RCLONE_CONF: ${{ secrets.RCLONE_CONF }}
RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS }}
with:
args: 'sync google:carbonplan-data azure:carbonplan-data'