feat: add AtomGit code sync workflow
Some checks failed
Sync Code to AtomGit / sync-code-to-atomgit (push) Has been cancelled
Sync Code to Gitee / sync-code-to-gitee (push) Has been cancelled

This commit is contained in:
naiba 2026-02-16 13:36:49 +08:00
parent 73db305c20
commit a606b570f6

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

@ -0,0 +1,16 @@
name: Sync Code to AtomGit
on:
push:
branches: [main, v0]
jobs:
sync-code-to-atomgit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
with:
destination_repository: git@atomgit.com:naiba/nezha-scripts.git
destination_branch_name: ${{ github.ref_name }}
destination_ssh_key: ${{ secrets.ATOMGIT_SSH_KEY }}