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:
|
steps:
|
||||||
- name: 构建
|
- name: 构建
|
||||||
image: node:16.19-alpine
|
image: node:16.19-alpine
|
||||||
|
volumes:
|
||||||
|
- name: dist-web
|
||||||
|
path: ./dist
|
||||||
commands:
|
commands:
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
|
@ -14,5 +17,9 @@ steps:
|
||||||
- ls
|
- ls
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- pnpm build:web
|
- 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