π Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.
Add auto sync gitee
SWHLf2d7f323e8ed
diff --git a/.github/workflows/gitee_mirror.yml b/.github/workflows/gitee_mirror.ymlindex 68a5a30..44267d0 100644--- a/.github/workflows/gitee_mirror.yml+++ b/.github/workflows/gitee_mirror.yml@@ -1,14 +1,30 @@-name: 'GitHub Actions Mirror'+name: Sync Gitee code-on: [push, delete]+on:+ push:+ branches: [ main ]jobs:- sync:- runs-on: ubuntu-latest- steps:- - uses: wearerequired/git-mirror-action@master- env:- SSH_PRIVATE_KEY: ${{ secrets.GEN_PYTHON_SDK }}- with:- source-repo: "[email protected]:RapidAI/RapidOCR.git"- destination-repo: "[email protected]:RapidAI/RapidOCR.git"+ build:+ runs-on: ubuntu-latest++ steps:+ - uses: actions/checkout@v2++ - name: Set SSH Environment+ env:+ DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }}+ run: |+ mkdir -p ~/.ssh/+ echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa+ chmod 600 ~/.ssh/id_rsa+ chmod 700 ~/.ssh && chmod 600 ~/.ssh/*++ - name: Submit code to repository+ run: |+ git config --global user.name "SWHL"+ git config --global user.email "[email protected]"+ git remote add origin https://gitee.com/RapidAI/RapidOCR.git+ git add .+ git commit -m 'Auto sync Gitee code'+ git push origin main\ No newline at end of file