From a606b570f6da4181bc1f44348d4d1885e8caccdf Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 16 Feb 2026 13:36:49 +0800 Subject: [PATCH] feat: add AtomGit code sync workflow --- .github/workflows/sync-code-atomgit.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/sync-code-atomgit.yml diff --git a/.github/workflows/sync-code-atomgit.yml b/.github/workflows/sync-code-atomgit.yml new file mode 100644 index 0000000..03b77b1 --- /dev/null +++ b/.github/workflows/sync-code-atomgit.yml @@ -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 }}