diff --git a/.github/sync.yml b/.github/sync.yml new file mode 100644 index 00000000..0e637426 --- /dev/null +++ b/.github/sync.yml @@ -0,0 +1,2 @@ +https://huggingface.co/shiyue-loop/test: + - README.md \ No newline at end of file diff --git a/.github/workflows/sync_readme.yml b/.github/workflows/sync_readme.yml new file mode 100644 index 00000000..bf5bd678 --- /dev/null +++ b/.github/workflows/sync_readme.yml @@ -0,0 +1,20 @@ +name: Sync Files +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@master + - name: Run GitHub File Sync + uses: BetaHuhn/repo-file-sync-action@v1 + with: + GH_PAT: ${{ secrets.HF_TOKEN }} +