From 64f24910cb1016760fd08cbf3100884b3f1d017e Mon Sep 17 00:00:00 2001 From: xiongxiao Date: Mon, 12 Jan 2026 14:12:10 +0800 Subject: [PATCH] update --- .cnb.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.cnb.yml b/.cnb.yml index dba58f0..e88aa06 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -1,10 +1,10 @@ # .cnb.yml include: - https://cnb.cool/kevisual/cnb/-/blob/main/.cnb/template.yml - - config: - env: - TO_REPO: kevisual/cnb - TO_URL: git.xiongxiao.me +.common_env: &common_env + env: + TO_REPO: kevisual/cnb + TO_URL: git.xiongxiao.me $: vscode: - docker: @@ -18,13 +18,10 @@ $: # - name: pnpm install # script: pnpm install -.common_env: &common_env - env: - TO_REPO: kevisual/cnb - TO_URL: git.xiongxiao.me + main: web_trigger_sync_to_gitea: - env: !reference [config, env] + env: !reference [.common_env, env] services: !reference [.common_sync_to_gitea, services] imports: !reference [.common_sync_to_gitea, imports] stages: !reference [.common_sync_to_gitea, stages]