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