删掉所有yml文件.;只留下同步相关的yml
This commit is contained in:
6
.github/workflows/repo_sync.yml
vendored
6
.github/workflows/repo_sync.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
repo-sync:
|
||||
env:
|
||||
PAT: ${{ secrets.PAT }} #此处PAT需要申请,教程详见:https://www.jianshu.com/p/bb82b3ad1d11
|
||||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} # 我自己同步到gitee使用,其他人可忽略
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
uses: repo-sync/github-sync@v2
|
||||
if: env.PAT
|
||||
with:
|
||||
source_repo: "https://github.com/lxk0301/scripts.git"
|
||||
source_repo: "https://github.com/lxk0301/jd_scripts.git"
|
||||
source_branch: "master"
|
||||
destination_branch: "master"
|
||||
github_token: ${{ secrets.PAT }}
|
||||
@ -36,6 +36,6 @@ jobs:
|
||||
with:
|
||||
src: github/lxk0301
|
||||
dst: gitee/lxk0301
|
||||
static_list: "scripts"
|
||||
static_list: "jd_scripts"
|
||||
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||
|
Reference in New Issue
Block a user