diff --git a/.cnb.yml b/.cnb.yml index 606e3da..fac9582 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -25,13 +25,9 @@ $: main: web_trigger_sync_to_gitea: - <<: *common_env - stages: - - name: "测试变量" - script: | - echo "TO_REPO: ${TO_REPO}" - echo "TO_URL: ${TO_URL}" - echo '同步到gitea' - + services: !reference [.common_sync_to_gitea, services] + imports: !reference [.common_sync_to_gitea, imports] + stages: !reference [.common_sync_to_gitea, stages] web_trigger_sync_from_gitea: - <<: *common_env