From 43112ecafe027c02f50fd55c176476b0a55d73fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E4=B8=80=E9=A3=9E?= Date: Mon, 25 Dec 2023 13:30:32 +0000 Subject: [PATCH] Merge pull request #145 in ADUC/apaas-widgets-web from sync-gitee to release/2.9.20 Squashed commit of the following: commit e329ff6815051a57893597834cad6188c905e5c9 Author: renyifei Date: Mon Dec 25 21:26:08 2023 +0800 chore: add gitee sync --- .github/workflows/gitee-sync.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/gitee-sync.yml diff --git a/.github/workflows/gitee-sync.yml b/.github/workflows/gitee-sync.yml new file mode 100644 index 00000000..2c8b456e --- /dev/null +++ b/.github/workflows/gitee-sync.yml @@ -0,0 +1,27 @@ +name: gitee-sync +on: + pull_request: + workflow_dispatch: + +jobs: + build: + name: gitee-sync + runs-on: ubuntu-latest + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + if: github.actor != 'dependabot[bot]' + steps: + - name: Gitee sync repo + uses: Yikun/hub-mirror-action@v1.3 + with: + src: github/AgoraIO-Community + dst: gitee/agoraio-community + white_list: "apaas-widgets-web" + static_list: "apaas-widgets-web" + cache_path: "./cache" + dst_key: ${{ secrets.GITEE_PI_SSH }} + dst_token: ${{ secrets.GITEE_PRIVATE_TOKEN }} + force_update: true + account_type: org \ No newline at end of file