Skip to content

📄 Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

Update gitee workflow

SWHLe4c817664a95
diff --git a/.github/workflows/gitee_mirror.yml b/.github/workflows/gitee_mirror.yml
index 1745841..8f7040d 100644
--- a/.github/workflows/gitee_mirror.yml
+++ b/.github/workflows/gitee_mirror.yml
@@ -5,27 +5,23 @@ on:
push:
jobs:
- build:
+ sync:
+ # 前置步骤和环境
+ needs: pages
runs-on: ubuntu-latest
-
- # 任务名
- sync:
- # 前置步骤和环境
- needs: pages
- runs-on: ubuntu-latest
- steps:
- # 直接调别人的轮子
- # 功能是把这个 Github 仓库和 Gitee 仓库同步
- - name: Sync to Gitee
- uses: wearerequired/git-mirror-action@master
- env:
- # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
- # 配置就不多说了,解释一下原因
- # 因为这步骤功能是从 GitHub 推更新到 Gitee
- # 所以需要 Gitee 持有私钥,Github 持有公钥
- SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_SSH_KEY }}
- with:
- # 注意替换为你的 GitHub 源仓库地址
- source-repo: "[email protected]:RapidAI/RapidOCR.git"
- # 注意替换为你的 Gitee 目标仓库地址
- destination-repo: "[email protected]:RapidAI/RapidOCR.git"
\ No newline at end of file
+ steps:
+ # 直接调别人的轮子
+ # 功能是把这个 Github 仓库和 Gitee 仓库同步
+ - name: Sync to Gitee
+ uses: wearerequired/git-mirror-action@master
+ env:
+ # 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
+ # 配置就不多说了,解释一下原因
+ # 因为这步骤功能是从 GitHub 推更新到 Gitee
+ # 所以需要 Gitee 持有私钥,Github 持有公钥
+ SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_SSH_KEY }}
+ with:
+ # 注意替换为你的 GitHub 源仓库地址
+ source-repo: "[email protected]:RapidAI/RapidOCR.git"
+ # 注意替换为你的 Gitee 目标仓库地址
+ destination-repo: "[email protected]:RapidAI/RapidOCR.git"
\ No newline at end of file