diff --git a/.github/workflows/sync-2-gitee.yml b/.github/workflows/sync-2-gitee.yml new file mode 100644 index 0000000..ee2814a --- /dev/null +++ b/.github/workflows/sync-2-gitee.yml @@ -0,0 +1,17 @@ +name: sync-2-gitee + +on: + push: + branches: [main] + +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