Skip to content

Commit a2f2715

Browse files
committed
Update sync2gitee.yml
Changed the workflow trigger to manual
1 parent 8544f57 commit a2f2715

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/sync2gitee.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 通过 Github action, 在仓库的每一次 commit 后自动同步到 Gitee 上
2+
# 临时修改为手动触发,等待同步完成后再修改为自动触发
23
name: Mirror the Github organization repos to Gitee
3-
on: [push]
4+
on: workflow_dispatch
45

56
jobs:
67
repo-sync:
@@ -13,14 +14,14 @@ jobs:
1314
uses: Yikun/hub-mirror-action@master
1415
with:
1516
# 必选,需要同步的 Github 这里记住选择的是仓库 或者账号 而不是具体的项目
16-
src: github/alibaba
17+
src: github/CodePhiliaX
1718
# 必选,需要同步到的 Gitee 这里记住选择的是仓库 或者账号 而不是具体的项目
18-
dst: gitee/easyexcel
19+
dst: gitee/fastexcel
1920
# 必选,Gitee公钥对应的私钥,https://gitee.com/profile/sshkeys
2021
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
2122
# 必选,Gitee对应的用于创建仓库的token,https://gitee.com/profile/personal_access_tokens
2223
dst_token: ${{ secrets.GITEE_TOKEN }}
2324
# 如果是组织,指定组织即可,默认为用户 user
2425
account_type: org
2526
# 需要同步的仓库里面的项目
26-
static_list: "easyexcel"
27+
static_list: "fastexcel"

0 commit comments

Comments
 (0)