nezha/.github/workflows/sync-code.yml

17 lines
387 B
YAML
Raw Permalink Normal View History

2023-10-26 23:29:20 +08:00
name: Sync
on:
push:
branches: [master]
jobs:
2023-10-26 23:32:24 +08:00
sync-to-jihulab:
2023-10-26 23:29:20 +08:00
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
2023-10-26 23:29:20 +08:00
destination_branch_name: master
2024-11-29 21:42:18 +08:00
destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }}