Skip to content

Commit

Permalink
ci: add workflow to sync to Gitee repo
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghe-fit2cloud committed Mar 22, 2024
1 parent bdf5edc commit 17217c0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/sync2gitee.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 17217c0

Please sign in to comment.