nezha/.github/workflows/sync.yml

17 lines
388 B
YAML
Raw Normal View History

2023-10-26 11:29:20 -04:00
name: Sync
on:
push:
branches: [master]
jobs:
2023-10-26 11:32:24 -04:00
sync-to-jihulab:
2023-10-26 11:29:20 -04: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 11:29:20 -04:00
destination_branch_name: master
destination_ssh_key: ${{ secrets.GITLAB_SSH_KEY }}