From d5d6779aa302ff440d99cb46f3d8380b71f7a0b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Sun, 22 May 2022 13:02:56 +0800 Subject: [PATCH] :construction_worker: Add CI auto sync code to Gitee repository. --- .github/workflows/sync-2-gitee.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/sync-2-gitee.yml diff --git a/.github/workflows/sync-2-gitee.yml b/.github/workflows/sync-2-gitee.yml new file mode 100644 index 0000000..67e50cc --- /dev/null +++ b/.github/workflows/sync-2-gitee.yml @@ -0,0 +1,16 @@ +name: sync-2-gitee + +on: + push + +jobs: + sync-2-gitee: + runs-on: ubuntu-latest + 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:hugo-next/hugo-theme-next.git + destination-repo: git@gitee.com:hugo-next/hugo-theme-next.git \ No newline at end of file