From 6da418df6d8ee8761cc629265b5791f6ad37e0b3 Mon Sep 17 00:00:00 2001 From: EricKwok <16463312+the-eric-kwok@users.noreply.github.com> Date: Tue, 9 Nov 2021 19:39:37 +0800 Subject: [PATCH] Create sync2gitee.yml --- .github/workflows/sync2gitee.yml | 12 ++++++++++++ 1 file changed, 12 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 0000000..20f0f11 --- /dev/null +++ b/.github/workflows/sync2gitee.yml @@ -0,0 +1,12 @@ +name: Sync To Gitee +on: [ push, delete, create ] +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: wearerequired/git-mirror-action@master + env: + SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }} + with: + source-repo: "https://github.com/the-eric-kwok/HP-Pavilion-bc015tx-Hackintosh.git" + destination-repo: "git@gitee.com:erickwok404/HP-Pavilion-bc015tx-Hackintosh.git"