update
This commit is contained in:
9
.cnb.yml
9
.cnb.yml
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user