diff --git a/.cnb.yml b/.cnb.yml index fb4d9ff..606e3da 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -1,7 +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 $: vscode: - docker: @@ -20,7 +23,14 @@ $: TO_REPO: kevisual/cnb TO_URL: git.xiongxiao.me main: - web_trigger_sync_to_gitea: !reference [.common_sync_to_gitea] + web_trigger_sync_to_gitea: + - <<: *common_env + stages: + - name: "测试变量" + script: | + echo "TO_REPO: ${TO_REPO}" + echo "TO_URL: ${TO_URL}" + echo '同步到gitea' web_trigger_sync_from_gitea: