ci: sync release to gitee (#390)

This commit is contained in:
UUBulb
2024-07-14 14:38:12 +08:00
committed by GitHub
parent ce624a0ca6
commit 05d69d5c07
7 changed files with 136 additions and 5 deletions

16
.github/workflows/sync-release.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Sync Release to Gitee
on:
workflow_dispatch:
jobs:
sync-release-to-gitee:
runs-on: ubuntu-latest
env:
GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Sync to Gitee
run: |
pip3 install PyGitHub
python3 .github/workflows/sync.py