.github/workflows/sync-to-sc-data.yml #538
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: Sync to sc-data repo | |
on: | |
schedule: | |
- cron: '0 8 * * SUN' | |
push: | |
branches: | |
- published | |
jobs: | |
push-changed-files-to-sc-data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync changed files to sc-data repo | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
src_branch: published | |
src_path: /. | |
dst_owner: suttacentral | |
dst_repo_name: sc-data | |
dst_path: /sc_bilara_data/ | |
dst_branch: master | |
clean: true | |
commit_message: '[GHA] Sync files from bilara-data.' |