This commit is contained in:
2026-01-11 11:21:32 +08:00
parent b9a77a478b
commit 314810a5ff

View File

@@ -6,7 +6,7 @@ $:
services: services:
- vscode - vscode
- docker - docker
imports: https://cnb.cool/kevisual/env/-/blob/main/.env.development imports: https://cnb.cool/kevisual/env/-/blob/main/development.env
# 开发环境启动后会执行的任务 # 开发环境启动后会执行的任务
# stages: # stages:
# - name: pnpm install # - name: pnpm install
@@ -16,11 +16,13 @@ $:
services: services:
- docker - docker
imports: imports:
- https://cnb.cool/kevisual/env/-/blob/main/.env.development - https://cnb.cool/kevisual/env/-/blob/main/development.env
env: env:
FROM_REPO: kevisual/cnb FROM_REPO: kevisual/cnb
TO_REPO: kevisual/cnb TO_REPO: kevisual/cnb
stages: stages:
- name: '同步到仓库'
script: echo "同步到仓库 ${TO_REPO}"
- name: sync to gitea - name: sync to gitea
image: tencentcom/git-sync image: tencentcom/git-sync
settings: settings:
@@ -36,7 +38,7 @@ $:
services: services:
- docker - docker
imports: imports:
- https://cnb.cool/kevisual/env/-/blob/main/.env.development - https://cnb.cool/kevisual/env/-/blob/main/development.env
env: env:
FROM_REPO: kevisual/cnb FROM_REPO: kevisual/cnb
TO_REPO: kevisual/cnb TO_REPO: kevisual/cnb
@@ -52,7 +54,6 @@ $:
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: