diff --git a/.cnb.yml b/.cnb.yml index dbb566a..0abef95 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -1,7 +1,6 @@ # .cnb.yml include: - - .cnb/template.yml - # - https://cnb.cool/kevisual/cnb/.cnb/template.yml + - https://cnb.cool/kevisual/cnb/-/blob/main/.cnb/template.yml $: vscode: @@ -24,20 +23,32 @@ main: web_trigger_sync_to_gitea: - <<: *common_env stages: - - name: '启动' - script: echo '从gitea同步' + - name: '测试变量' + script: | + echo "TO_REPO: ${TO_REPO}" + echo "TO_URL: ${TO_URL}" + echo '从gitea同步' web_trigger_sync_from_gitea: - <<: *common_env stages: - - name: '启动' - script: echo '从gitea同步' + - name: '测试变量' + script: | + echo "TO_REPO: ${TO_REPO}" + echo "TO_URL: ${TO_URL}" + echo '从gitea同步' api_trigger_sync_to_gitea: - <<: *common_env stages: - - name: '启动' - script: echo '同步到gitea' + - name: '测试变量' + script: | + echo "TO_REPO: ${TO_REPO}" + echo "TO_URL: ${TO_URL}" + echo '同步到gitea' api_trigger_sync_from_gitea: - <<: *common_env stages: - - name: '启动' - script: echo '同步到gitea' + - name: '测试变量' + script: | + echo "TO_REPO: ${TO_REPO}" + echo "TO_URL: ${TO_URL}" + echo '同步到gitea'