scripts/.github/workflows/sync-code-atomgit.yml
naiba a606b570f6
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
feat: add AtomGit code sync workflow
2026-02-16 13:36:49 +08:00

17 lines
436 B
YAML

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 }}