From f2fdc09481c0e5cac5d26a0237e5b44406b89893 Mon Sep 17 00:00:00 2001 From: Wenbo Li Date: Sat, 9 Mar 2024 13:29:33 +0800 Subject: [PATCH] Add gitee sync job in ci --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4647188..06a8741 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,4 +29,14 @@ jobs: # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail run: make lab0 + sync: + runs-on: ubuntu-22.04 + steps: + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} + with: + source-repo: git@github.com:thu-db/huadb.git + destination-repo: git@gitee.com:thu-db/huadb.git