From 70547ac4aa149607e5ce5cd5357f2414d5d01621 Mon Sep 17 00:00:00 2001 From: qinzhen Date: Mon, 11 Dec 2023 16:01:21 +0800 Subject: [PATCH] Create gitee-sync.yml --- .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 0000000..50ef678 --- /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 + dst: gitee/agoraio-community + white_list: "API-Examples-Web" + static_list: "API-Examples-Web" + cache_path: "./cache" + dst_key: ${{ secrets.GITEE_PI_SSH }} + dst_token: ${{ secrets.GITEE_PRIVATE_TOKEN }} + force_update: true + account_type: org