web-backset.cn/.drone.yml

24 lines
397 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:06:47 +08:00
- name: 基础环境
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:05:46 +08:00
2023-03-06 10:10:53 +08:00
# - name: 依赖更新
# commands:
# - pnpm i
# - pnpm build:web
2023-03-06 10:06:47 +08:00
2023-03-06 10:10:53 +08:00
# - name: 发布web服务器
# commands:
# - ls
# - cp -r ./apps/web/dist/ /www/wwwroot/nginx/html/backset.cn