fix
This commit is contained in:
31
.cnb.yml
31
.cnb.yml
@@ -1,7 +1,6 @@
|
|||||||
# .cnb.yml
|
# .cnb.yml
|
||||||
include:
|
include:
|
||||||
- .cnb/template.yml
|
- https://cnb.cool/kevisual/cnb/-/blob/main/.cnb/template.yml
|
||||||
# - https://cnb.cool/kevisual/cnb/.cnb/template.yml
|
|
||||||
|
|
||||||
$:
|
$:
|
||||||
vscode:
|
vscode:
|
||||||
@@ -24,20 +23,32 @@ main:
|
|||||||
web_trigger_sync_to_gitea:
|
web_trigger_sync_to_gitea:
|
||||||
- <<: *common_env
|
- <<: *common_env
|
||||||
stages:
|
stages:
|
||||||
- name: '启动'
|
- name: '测试变量'
|
||||||
script: echo '从gitea同步'
|
script: |
|
||||||
|
echo "TO_REPO: ${TO_REPO}"
|
||||||
|
echo "TO_URL: ${TO_URL}"
|
||||||
|
echo '从gitea同步'
|
||||||
web_trigger_sync_from_gitea:
|
web_trigger_sync_from_gitea:
|
||||||
- <<: *common_env
|
- <<: *common_env
|
||||||
stages:
|
stages:
|
||||||
- name: '启动'
|
- name: '测试变量'
|
||||||
script: echo '从gitea同步'
|
script: |
|
||||||
|
echo "TO_REPO: ${TO_REPO}"
|
||||||
|
echo "TO_URL: ${TO_URL}"
|
||||||
|
echo '从gitea同步'
|
||||||
api_trigger_sync_to_gitea:
|
api_trigger_sync_to_gitea:
|
||||||
- <<: *common_env
|
- <<: *common_env
|
||||||
stages:
|
stages:
|
||||||
- name: '启动'
|
- name: '测试变量'
|
||||||
script: echo '同步到gitea'
|
script: |
|
||||||
|
echo "TO_REPO: ${TO_REPO}"
|
||||||
|
echo "TO_URL: ${TO_URL}"
|
||||||
|
echo '同步到gitea'
|
||||||
api_trigger_sync_from_gitea:
|
api_trigger_sync_from_gitea:
|
||||||
- <<: *common_env
|
- <<: *common_env
|
||||||
stages:
|
stages:
|
||||||
- name: '启动'
|
- name: '测试变量'
|
||||||
script: echo '同步到gitea'
|
script: |
|
||||||
|
echo "TO_REPO: ${TO_REPO}"
|
||||||
|
echo "TO_URL: ${TO_URL}"
|
||||||
|
echo '同步到gitea'
|
||||||
|
|||||||
Reference in New Issue
Block a user