rclone daily sync #1041
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/rclone@v1.1.1 | |
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/rclone@v1.1.1 | |
env: | |
RCLONE_CONF: ${{ secrets.RCLONE_CONF }} | |
with: | |
args: 'tree --color --dirs-only --human --level 3 azure:' | |
- name: rclone - google to azure | |
uses: wei/rclone@v1.1.1 | |
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' |