Add .github/workflows/repo-sync.yml

This commit is contained in:
blitzwing 2024-10-14 23:57:36 +00:00
parent bef5fb533f
commit dea001d75d

21
.github/workflows/repo-sync.yml vendored Normal file
View file

@ -0,0 +1,21 @@
# File: .github/workflows/repo-sync.yml
on:
schedule:
- cron: "*/15 * * * *"
workflow_dispatch:
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https://git.private.coffee/blitzwing/furao-link/"
source_branch: "main"
destination_branch: "main"
github_token: ${{ secrets.PAT }}