ci
This commit is contained in:
parent
4c37f8443b
commit
9c47f3b616
32
.drone.yml
32
.drone.yml
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user