This commit is contained in:
mozzie 2023-03-06 10:06:47 +08:00
parent 4c37f8443b
commit 9c47f3b616

View File

@ -1,24 +1,24 @@
--- ---
kind: pipeline kind: pipeline
type: exec type: docker
name: backset.cn deploy name: backset.cn deploy
steps: steps:
# - name: 基础环境 - name: 基础环境
# image: node:16.19-alpine image: node:16.19-alpine
commands:
- node -v
- npm -v
# - name: 依赖更新
# commands: # commands:
# - node -v # - pnpm install
# - npm -v
- name: 依赖更新 # - name: apps/web 项目构建
commands: # commands:
- pnpm install # - pnpm build:web
- name: apps/web 项目构建 # - name: 发布web服务器
commands: # commands:
- pnpm build:web # - ls
# - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
- name: 发布web服务器
commands:
- ls
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn