Skip to content

Commit 18e87ef

Browse files
authored
Merge pull request #16 from bmpi-dev/mirrior-of-vercel
add sync actions
2 parents 471fa21 + 4d1bb1e commit 18e87ef

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: "mirrior-of-vercel"
19+
github_token: ${{ secrets.PAT }}

0 commit comments

Comments
 (0)