From 17217c0f574603a8985e3af535aae1a9145242f3 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Fri, 22 Mar 2024 12:29:56 +0800 Subject: [PATCH] ci: add workflow to sync to Gitee repo --- .github/workflows/sync2gitee.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/sync2gitee.yml diff --git a/.github/workflows/sync2gitee.yml b/.github/workflows/sync2gitee.yml new file mode 100644 index 000000000..186cf1570 --- /dev/null +++ b/.github/workflows/sync2gitee.yml @@ -0,0 +1,16 @@ +name: sync2gitee +on: [push] + +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/1Panel-dev' + dst: 'gitee/fit2cloud-feizhiyun' + dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_TOKEN }} + static_list: "MaxKB" + force_update: true \ No newline at end of file