ci: sync to gitee

This commit is contained in:
CaptainB 2023-10-26 11:33:59 +08:00 committed by 刘瑞斌
parent f306e1628d
commit 038275169b
1 changed files with 31 additions and 0 deletions

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

@ -0,0 +1,31 @@
# This is a basic workflow to help you get started with Actions
name: Mirror GitHub Auto Queried Repos to Gitee
on:
push:
branches:
- v3.x
schedule:
- cron: '0 17 * * *'
workflow_dispatch:
jobs:
run:
name: Sync-GitHub-to-Gitee
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