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-code.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Sync
on:
push:
branches: [master]
jobs:
sync-to-jihulab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
with:
destination_repository: git@gitee.com:naibahq/nezha.git
destination_branch_name: master
destination_ssh_key: ${{ secrets.GITLAB_SSH_KEY }}