mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
# 通过 Github action, 在仓库的每一次 commit 后自动同步到 Gitee 上 |
|
name: Mirror the Github organization repos to Gitee |
|
on: |
|
push: |
|
branches: |
|
- bugfix |
|
jobs: |
|
repo-sync: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@main |
|
with: |
|
persist-credentials: false |
|
- name: Mirror the Github organization repos to Gitee. |
|
uses: Yikun/hub-mirror-action@master |
|
with: |
|
# 必选,需要同步的 Github 用户(源) |
|
src: alibaba/easyexcel |
|
# 必选,需要同步到的 Gitee 用户(目的) |
|
dst: easyexcel/easyexcel |
|
# 必选,Gitee公钥对应的私钥,https://gitee.com/profile/sshkeys |
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} |
|
# 必选,Gitee对应的用于创建仓库的token,https://gitee.com/profile/personal_access_tokens |
|
dst_token: ${{ secrets.GITEE_TOKEN }} |
|
# 如果是组织,指定组织即可,默认为用户 user |
|
# account_type: org |
|
# 直接取当前项目的仓库名 |
|
static_list: "easyexcel" |