MeterSphere/.github/workflows/sync-to-gitee.yml

31 lines
673 B
YAML
Raw Normal View History

2023-10-26 11:33:59 +08:00
# 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