This commit is contained in:
xiongxiao
2026-01-12 14:06:25 +08:00
parent 60b964715e
commit c0f018e85b

View File

@@ -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: