This commit is contained in:
mozzie 2023-03-06 11:01:56 +08:00
parent b9e421cb2e
commit 0032bd680a

View File

@ -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