web-backset.cn/.drone.yml

18 lines
301 B
YAML
Raw Normal View History

2023-03-05 17:17:04 +08:00
---
kind: pipeline
2023-03-06 10:06:47 +08:00
type: docker
2023-03-06 10:05:46 +08:00
name: backset.cn deploy
2023-03-05 17:17:04 +08:00
steps:
2023-03-06 10:11:36 +08:00
- name: 构建
2023-03-06 10:06:47 +08:00
image: node:16.19-alpine
2023-03-06 10:05:46 +08:00
commands:
2023-03-06 10:06:47 +08:00
- node -v
- npm -v
2023-03-06 10:09:24 +08:00
- pwd
2023-03-06 10:08:12 +08:00
- ls
2023-03-06 10:12:10 +08:00
- npm install
- npm run build:web
2023-03-06 10:11:36 +08:00
- ls
- cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn