ci
This commit is contained in:
parent
5bbe1fc204
commit
d61165981f
16
.drone.yml
16
.drone.yml
|
@ -4,20 +4,14 @@ 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:
|
commands:
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
- pwd
|
- pwd
|
||||||
- ls
|
- ls
|
||||||
|
- pnpm i
|
||||||
# - name: 依赖更新
|
- pnpm build:web
|
||||||
# commands:
|
- ls
|
||||||
# - pnpm i
|
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
||||||
# - pnpm build:web
|
|
||||||
|
|
||||||
# - name: 发布web服务器
|
|
||||||
# commands:
|
|
||||||
# - ls
|
|
||||||
# - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user