ci
This commit is contained in:
parent
b9e421cb2e
commit
0032bd680a
11
.drone.yml
11
.drone.yml
|
@ -6,6 +6,9 @@ name: backset.cn deploy
|
|||
steps:
|
||||
- name: 构建
|
||||
image: node:16.19-alpine
|
||||
volumes:
|
||||
- name: dist-web
|
||||
path: ./dist
|
||||
commands:
|
||||
- node -v
|
||||
- npm -v
|
||||
|
@ -14,5 +17,9 @@ steps:
|
|||
- ls
|
||||
- pnpm i
|
||||
- pnpm build:web
|
||||
- ls
|
||||
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn
|
||||
|
||||
# 宿主机目录
|
||||
volumes:
|
||||
- name: dist-web
|
||||
host:
|
||||
path: /www/wwwroot/nginx/html/backset.cn
|
||||
|
|
Loading…
Reference in New Issue
Block a user