mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
35 lines
1019 B
YAML
35 lines
1019 B
YAML
name: SyncToGitee
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
repo-sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source codes
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Mirror the Github organization repos to Gitee.
|
|
uses: Yikun/hub-mirror-action@v1.4
|
|
with:
|
|
src: 'github/RapidAI'
|
|
dst: 'gitee/RapidAI'
|
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
|
force_update: true
|
|
# only sync this repo
|
|
static_list: "RapidOCR"
|
|
debug: true
|
|
|
|
- name: Mirror the Github organization repos to Gitee.
|
|
uses: Yikun/hub-mirror-action@v1.4
|
|
with:
|
|
src: 'github/RapidAI'
|
|
dst: 'gitee/openKylin'
|
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
|
force_update: true
|
|
# only sync this repo
|
|
static_list: "RapidOCR"
|
|
debug: true |