ci
This commit is contained in:
parent
dd4c8e7fb0
commit
406257a510
21
.drone.yml
21
.drone.yml
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
name: backset.cn ci
|
name: backset.cn ci
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -9,15 +10,15 @@ steps:
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
|
|
||||||
- name: 依赖更新
|
# - name: 依赖更新
|
||||||
commands:
|
# commands:
|
||||||
- npm install
|
# - npm install
|
||||||
|
|
||||||
- name: apps/web 项目构建
|
# - name: apps/web 项目构建
|
||||||
commnads:
|
# commnads:
|
||||||
- npm run build:web
|
# - npm run build:web
|
||||||
|
|
||||||
- name: 发布web服务器
|
# - name: 发布web服务器
|
||||||
commands:
|
# commands:
|
||||||
- ls
|
# - ls
|
||||||
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
# - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
Loading…
Reference in New Issue
Block a user