👷 Add CI auto sync code to Gitee repository.

This commit is contained in:
凡梦星尘 2022-05-22 13:02:56 +08:00
parent 00a9265719
commit d5d6779aa3

16
.github/workflows/sync-2-gitee.yml vendored Normal file
View File

@ -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