Merge pull request #189 from ChBrain/feature/countries-registry #124
This file contains hidden or 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: Sync to Google Drive | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '.github/**' | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install rclone | |
| run: curl https://rclone.org/install.sh | sudo bash | |
| - name: Configure rclone | |
| env: | |
| RCLONE_CONF: ${{ secrets.RCLONE_CONF }} | |
| run: | | |
| mkdir -p ~/.config/rclone | |
| printf '%s' "$RCLONE_CONF" > ~/.config/rclone/rclone.conf | |
| - name: Sync Cultures | |
| run: rclone sync . "gdrive:KAI/Cultures/" --transfers=4 --delete-after --exclude ".github/**" |