mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 19:49:10 +08:00
ci: sync to gitee
This commit is contained in:
parent
f306e1628d
commit
038275169b
31
.github/workflows/sync-to-gitee.yml
vendored
Normal file
31
.github/workflows/sync-to-gitee.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user