feat: drone yml
This commit is contained in:
parent
129267dd52
commit
b7f29c2c20
12
.drone.yml
12
.drone.yml
|
@ -20,9 +20,9 @@ steps:
|
||||||
- pwd
|
- pwd
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
- npm install -g pnpm
|
- npm set registry https://registry.npm.taobao.org
|
||||||
- pnpm i
|
- npm install
|
||||||
- pnpm build:web
|
- npm run build:web
|
||||||
|
|
||||||
- name: deploy-web
|
- name: deploy-web
|
||||||
image: appleboy/drone-scp:1.6
|
image: appleboy/drone-scp:1.6
|
||||||
|
@ -47,9 +47,9 @@ steps:
|
||||||
- pwd
|
- pwd
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
- npm install -g pnpm
|
- npm set registry https://registry.npm.taobao.org
|
||||||
- pnpm i
|
- npm install
|
||||||
- pnpm build:admin
|
- npm run build:web
|
||||||
|
|
||||||
- name: deploy-admin
|
- name: deploy-admin
|
||||||
image: appleboy/drone-scp:1.6
|
image: appleboy/drone-scp:1.6
|
||||||
|
|
Loading…
Reference in New Issue
Block a user