sync to jihulab

This commit is contained in:
naiba 2023-10-26 23:29:20 +08:00
parent 641b79bd4c
commit b8eeb225a1
2 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,16 @@
name: Sync
on:
push:
branches: [master]
jobs:
contributors:
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 }}

View File

@ -8,6 +8,7 @@ on:
- ".github/workflows/codeql-analysis.yml"
- ".github/workflows/test-on-pr.yml"
- ".github/workflows/contributors.yml"
- ".github/workflows/sync.yml"
- "README.md"
- ".goreleaser.yml"