ci
This commit is contained in:
parent
f815937a12
commit
ed2718c447
|
@ -6,6 +6,7 @@ name: backset.cn deploy
|
||||||
steps:
|
steps:
|
||||||
- name: 构建
|
- name: 构建
|
||||||
image: node:16.19-alpine
|
image: node:16.19-alpine
|
||||||
|
# 容器内目录挂载到宿主机,仓库需要trusted权限,例如node_modules防止重复下载
|
||||||
volumes:
|
volumes:
|
||||||
- name: dist-web
|
- name: dist-web
|
||||||
path: /dist
|
path: /dist
|
||||||
|
@ -17,6 +18,7 @@ steps:
|
||||||
- ls
|
- ls
|
||||||
- pnpm i
|
- pnpm i
|
||||||
- pnpm build:web
|
- pnpm build:web
|
||||||
|
- ls
|
||||||
|
|
||||||
# 宿主机目录
|
# 宿主机目录
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user