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

View File

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