This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -9,7 +9,7 @@ platform:
|
||||
steps:
|
||||
- name: 测试服-构建部署
|
||||
pull: if-not-exists
|
||||
image: node:22-alpine
|
||||
image: node:24-alpine
|
||||
when:
|
||||
branch:
|
||||
- test
|
||||
@@ -22,7 +22,7 @@ steps:
|
||||
|
||||
- name: 正式服-构建部署
|
||||
pull: if-not-exists
|
||||
image: node:22-alpine
|
||||
image: node:24-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
@@ -33,6 +33,19 @@ steps:
|
||||
- pnpm build:weapp:prod:upload
|
||||
- rm -rf dist.tar
|
||||
|
||||
- name: 备用服-构建部署
|
||||
pull: if-not-exists
|
||||
image: node:24-alpine
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
commands:
|
||||
- npm install -g pnpm
|
||||
- pnpm config set registry https://registry.npmmirror.com/
|
||||
- pnpm install
|
||||
- pnpm build:weapp:reserve:upload
|
||||
- rm -rf dist.tar
|
||||
|
||||
- name: 企业微信通知
|
||||
pull: if-not-exists
|
||||
image: plugins/webhook
|
||||
|
||||
Reference in New Issue
Block a user