From 63bd5a94cc69ade18e33b9179c566518954076d5 Mon Sep 17 00:00:00 2001 From: farfun <1007530194@qq.com> Date: Sun, 24 Nov 2024 21:25:04 +0800 Subject: [PATCH] add --- .github/workflows/sync.yml | 22 ++++++++++++++++++++++ logs/all.log | 1 + logs/funbuild.log | 1 + 3 files changed, 24 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000..d26269b --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,22 @@ +#https://github.com/marketplace/actions/hub-mirror-action +name: syncToGitee +on: + push: + tags: + - '*' +jobs: + repo-sync: + runs-on: ubuntu-latest + + steps: + - name: Mirror the Github organization repos to Gitee. + uses: Yikun/hub-mirror-action@master + + with: + src: github/farfarfun + dst: gitee/farfarfun + dst_key: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_TOKEN }} + force_update: true + account_type: org + static_list: 'fundrive' diff --git a/logs/all.log b/logs/all.log index 8d0a172..45bbf62 100644 --- a/logs/all.log +++ b/logs/all.log @@ -5,3 +5,4 @@ 2024-11-24 13:46:25.644 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push 2024-11-24 13:46:52.557 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push 2024-11-24 15:17:21.882 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push +2024-11-24 21:25:04.117 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push diff --git a/logs/funbuild.log b/logs/funbuild.log index 8d0a172..45bbf62 100644 --- a/logs/funbuild.log +++ b/logs/funbuild.log @@ -5,3 +5,4 @@ 2024-11-24 13:46:25.644 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push 2024-11-24 13:46:52.557 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push 2024-11-24 15:17:21.882 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push +2024-11-24 21:25:04.117 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push