nezha/.github/workflows/sync.yml

17 lines
392 B
YAML
Raw 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@jihulab.com:nezha/dashboard.git
destination_branch_name: master
destination_ssh_key: ${{ secrets.GITLAB_SSH_KEY }}