From 1364fa7f953b137d9c7cc74a7be6a9b5b8f0a86b Mon Sep 17 00:00:00 2001 From: fit2cloudrd Date: Tue, 31 Jan 2023 15:05:59 +0800 Subject: [PATCH] Create sync2gitee.yml --- .github/workflows/sync2gitee.yml | 17 +++++++++++++++++ 1 file changed, 17 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 0000000000..bd6df50f81 --- /dev/null +++ b/.github/workflows/sync2gitee.yml @@ -0,0 +1,17 @@ +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/dataease' + dst: 'gitee/fit2cloud-feizhiyun' + dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_TOKEN }} + static_list: ${{ github.event.repository.name }} + force_update: true + debug: true