chore: 修改配置
This commit is contained in:
parent
552f3d9583
commit
87069f7ba3
21
.cnb.yml
21
.cnb.yml
@ -9,3 +9,24 @@ $:
|
|||||||
stages:
|
stages:
|
||||||
- name: init
|
- name: init
|
||||||
script: npm install pnpm -g && pnpm i
|
script: npm install pnpm -g && pnpm i
|
||||||
|
main:
|
||||||
|
web_trigger_prod:
|
||||||
|
- docker:
|
||||||
|
image: node:24
|
||||||
|
imports: https://cnb.cool/risenstars/iot-env/-/blob/main/env.yml
|
||||||
|
stages:
|
||||||
|
- name: npm install
|
||||||
|
script: |
|
||||||
|
npm install -g pnpm
|
||||||
|
pnpm install --no-frozen-lockfile
|
||||||
|
pnpm run build
|
||||||
|
- name: 使用 rsync 复制文件
|
||||||
|
image: tencentcom/rsync
|
||||||
|
settings:
|
||||||
|
hosts:
|
||||||
|
- ${REMOTE_HOST}
|
||||||
|
user: ${REMOTE_USERNAME}
|
||||||
|
key: ${PRIVATE_KEY}
|
||||||
|
port: ${REMOTE_PORT}
|
||||||
|
target: /www/wwwroot/hub.risenstars.com/prod
|
||||||
|
source: ./apps/web-tdesign/dist
|
||||||
|
|||||||
2091
pnpm-lock.yaml
2091
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user