Browse Source

ci: add workflow to sync to Gitee repo

pull/303/head
BugKing 2 years ago committed by zhengkunwang223
parent
commit
bdcdf7e181
  1. 16
      .github/workflows/sync2gitee.yml

16
.github/workflows/sync2gitee.yml

@ -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-xlab'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: "1Panel"
force_update: true
Loading…
Cancel
Save