Skip to content

Commit b2abac5

Browse files
authored
Create repo-sync.yml
1 parent 471fa21 commit b2abac5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/repo-sync.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
schedule:
3+
- cron: "*/1 * * * *"
4+
workflow_dispatch:
5+
6+
jobs:
7+
repo-sync:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
persist-credentials: false
13+
- name: repo-sync
14+
uses: repo-sync/github-sync@v2
15+
with:
16+
source_repo: "https://github.com/madawei2699/bmpi.dev"
17+
source_branch: "master"
18+
destination_branch: "master"
19+
github_token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)