This commit is contained in:
xiongxiao
2026-01-12 13:56:17 +08:00
parent b660fa501c
commit d32fce99e2

View File

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