From 0ebc94a7d03152386f25f8411f62223de302dbea Mon Sep 17 00:00:00 2001 From: xiongxiao Date: Thu, 19 Feb 2026 21:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=20cnb=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=20gitea=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cnb.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.cnb.yml b/.cnb.yml index 512bc2b..7ad928b 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -4,8 +4,7 @@ include: .common_env: &common_env env: - TO_REPO: kevisual/cnb - TO_URL: git.xiongxiao.me + USERNAME: root imports: - https://cnb.cool/kevisual/env/-/blob/main/.env.development @@ -17,28 +16,4 @@ $: - vscode - docker imports: !reference [.common_env, imports] - # 开发环境启动后会执行的任务 - # stages: - # - name: pnpm install - # script: pnpm install stages: !reference [.dev_template, stages] - -.common_sync_to_gitea: &common_sync_to_gitea - - <<: *common_env - services: !reference [.common_sync_to_gitea_template, services] - stages: !reference [.common_sync_to_gitea_template, stages] - -.common_sync_from_gitea: &common_sync_from_gitea - - <<: *common_env - services: !reference [.common_sync_from_gitea_template, services] - stages: !reference [.common_sync_from_gitea_template, stages] - -main: - web_trigger_sync_to_gitea: - - <<: *common_sync_to_gitea - web_trigger_sync_from_gitea: - - <<: *common_sync_from_gitea - api_trigger_sync_to_gitea: - - <<: *common_sync_to_gitea - api_trigger_sync_from_gitea: - - <<: *common_sync_from_gitea \ No newline at end of file