core: 添加同步到 Gitee

This commit is contained in:
bin456789 2023-09-14 21:22:21 +08:00
parent fd35d82ef1
commit 51a630f1b9
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

15
.github/workflows/sync_to_gitee.yaml vendored Normal file
View File

@ -0,0 +1,15 @@
name: 同步到 Gitee
on: [push, workflow_dispatch]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: 同步到 Gitee
uses: Yikun/hub-mirror-action@master
with:
src: github/bin456789
dst: gitee/bin456789
static_list: "reinstall"
force_update: true
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}