diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0faa230e..9c5a5c5a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -49,4 +49,15 @@ jobs: fqdn: wenzhihuai.com env: # @see https://docs.github.com/cn/actions/reference/authentication-in-a-workflow#about-the-github_token-secret - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Sync to Gitee + uses: wearerequired/git-mirror-action@v1 + env: + # 在 Settings->Secrets 配置 GITEE_PRIVATE_KEY + SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }} + with: + # GitHub 源仓库地址 + source-repo: git@github.com:Zephery/MyWebsite.git + # Gitee 目标仓库地址 + destination-repo: git@gitee.com:zephery.com.cn/MyWebsite.git \ No newline at end of file