mirror of
https://github.com/nezhahq/scripts.git
synced 2026-02-21 10:27:27 +08:00
feat: add AtomGit code sync workflow
This commit is contained in:
parent
73db305c20
commit
a606b570f6
16
.github/workflows/sync-code-atomgit.yml
vendored
Normal file
16
.github/workflows/sync-code-atomgit.yml
vendored
Normal 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 }}
|
||||
Loading…
Reference in New Issue
Block a user