updatge
This commit is contained in:
16
.cnb.yml
16
.cnb.yml
@@ -21,17 +21,13 @@ $:
|
||||
TO_URL: git.xiongxiao.me
|
||||
main:
|
||||
web_trigger_sync_to_gitea:
|
||||
- <<: *common_env
|
||||
stages:
|
||||
- name: '测试变量'
|
||||
script: |
|
||||
echo "TO_REPO: ${TO_REPO}"
|
||||
echo "TO_URL: ${TO_URL}"
|
||||
echo '从gitea同步'
|
||||
- env: !reference [.common_env]
|
||||
- <<: *common_sync_to_gitea
|
||||
|
||||
web_trigger_sync_from_gitea:
|
||||
- <<: *common_env
|
||||
stages:
|
||||
- name: '测试变量'
|
||||
- name: "测试变量"
|
||||
script: |
|
||||
echo "TO_REPO: ${TO_REPO}"
|
||||
echo "TO_URL: ${TO_URL}"
|
||||
@@ -39,7 +35,7 @@ main:
|
||||
api_trigger_sync_to_gitea:
|
||||
- <<: *common_env
|
||||
stages:
|
||||
- name: '测试变量'
|
||||
- name: "测试变量"
|
||||
script: |
|
||||
echo "TO_REPO: ${TO_REPO}"
|
||||
echo "TO_URL: ${TO_URL}"
|
||||
@@ -47,7 +43,7 @@ main:
|
||||
api_trigger_sync_from_gitea:
|
||||
- <<: *common_env
|
||||
stages:
|
||||
- name: '测试变量'
|
||||
- name: "测试变量"
|
||||
script: |
|
||||
echo "TO_REPO: ${TO_REPO}"
|
||||
echo "TO_URL: ${TO_URL}"
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
- name: '提交到原本的origin'
|
||||
script: git push origin main
|
||||
|
||||
main:
|
||||
web_trigger_sync_to_gitea:
|
||||
- <<: *common_sync_to_gitea
|
||||
web_trigger_sync_from_gitea:
|
||||
- <<: *common_sync_from_gitea
|
||||
api_trigger_sync_to_gitea:
|
||||
- <<: *common_sync_to_gitea
|
||||
api_trigger_sync_from_gitea:
|
||||
- <<: *common_sync_from_gitea
|
||||
# main:
|
||||
# web_trigger_sync_to_gitea:
|
||||
# - <<: *common_sync_to_gitea
|
||||
# web_trigger_sync_from_gitea:
|
||||
# - <<: *common_sync_from_gitea
|
||||
# api_trigger_sync_to_gitea:
|
||||
# - <<: *common_sync_to_gitea
|
||||
# api_trigger_sync_from_gitea:
|
||||
# - <<: *common_sync_from_gitea
|
||||
|
||||
Reference in New Issue
Block a user