From a4955a75ff5904301f7a84b20ac873f99a2933c9 Mon Sep 17 00:00:00 2001 From: naiba Date: Sat, 13 Jul 2024 23:16:16 +0800 Subject: [PATCH] feat: sync code to gitee --- .github/workflows/sync-code.yml | 16 ++++++++++++++++ .github/workflows/{sync.yml => sync-release.yml} | 0 README.md | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sync-code.yml rename .github/workflows/{sync.yml => sync-release.yml} (100%) diff --git a/.github/workflows/sync-code.yml b/.github/workflows/sync-code.yml new file mode 100644 index 0000000..dcac57f --- /dev/null +++ b/.github/workflows/sync-code.yml @@ -0,0 +1,16 @@ +name: Sync + +on: + push: + branches: [main] + +jobs: + sync-to-jihulab: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: adambirds/sync-github-to-gitlab-action@v1.1.0 + with: + destination_repository: git@gitee.com:naibahq/agent.git + destination_branch_name: master + destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync-release.yml similarity index 100% rename from .github/workflows/sync.yml rename to .github/workflows/sync-release.yml diff --git a/README.md b/README.md index 5f83b78..d1accef 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,11 @@ Agent of Nezha Monitoring ## Contributors naiba +UUBulb +Leon zhangnew Crazy Darc Z. -UUBulb +xykt 卖女孩的小火柴 Chisato22