wip: function to save to path #17
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 files across repos | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@main | |
- name: Run GitHub File Sync | |
uses: BetaHuhn/repo-file-sync-action@v1 | |
with: | |
# Not the default GITHUB_PAT, but a created one with full repo scope. | |
GH_PAT: ${{ secrets.GH_PAT }} |