ci: add workflow to sync to Gitee repo
This commit is contained in:
parent
bdf5edc203
commit
17217c0f57
16
.github/workflows/sync2gitee.yml
vendored
Normal file
16
.github/workflows/sync2gitee.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: sync2gitee
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
repo-sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Mirror the Github organization repos to Gitee.
|
||||||
|
uses: Yikun/hub-mirror-action@master
|
||||||
|
with:
|
||||||
|
src: 'github/1Panel-dev'
|
||||||
|
dst: 'gitee/fit2cloud-feizhiyun'
|
||||||
|
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
|
||||||
|
dst_token: ${{ secrets.GITEE_TOKEN }}
|
||||||
|
static_list: "MaxKB"
|
||||||
|
force_update: true
|
||||||
Loading…
Reference in New Issue
Block a user