This commit is contained in:
2026-03-05 22:02:44 +08:00
parent d196b24d07
commit 575feec78b
38 changed files with 1502 additions and 431 deletions

View File

@@ -4,8 +4,7 @@ include:
.common_env: &common_env
env:
TO_REPO: kevisual/cnb-center
TO_URL: git.xiongxiao.me
USERNAME: root
imports:
- https://cnb.cool/kevisual/env/-/blob/main/.env.development
@@ -16,29 +15,6 @@ $:
services:
- vscode
- docker
env: !reference [.common_env, env]
imports: !reference [.common_env, imports]
# 开发环境启动后会执行的任务
# stages:
# - name: pnpm install
# script: pnpm install
stages: !reference [.dev_template, stages]
.common_sync_to_gitea: &common_sync_to_gitea
- <<: *common_env
services: !reference [.common_sync_to_gitea_template, services]
stages: !reference [.common_sync_to_gitea_template, stages]
.common_sync_from_gitea: &common_sync_from_gitea
- <<: *common_env
services: !reference [.common_sync_from_gitea_template, services]
stages: !reference [.common_sync_from_gitea_template, stages]
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
stages: !reference [.dev_template, stages]