ci: sync to gitee

This commit is contained in:
CaptainB 2023-10-27 10:59:28 +08:00
parent b95d029bca
commit d029f2a5fd
1 changed files with 17 additions and 0 deletions

17
.github/workflows/sync-to-gitee.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: sync-to-gitee
on: [push]
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Mirror the Github repos to Gitee.
uses: Yikun/hub-mirror-action@master
with:
src: github/metersphere
dst: gitee/fit2cloud-feizhiyun
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: 'MeterSphere'
force_update: true
account_type: org