ci
This commit is contained in:
parent
e73ee01cb2
commit
20b8cdaaba
10
.drone.yml
10
.drone.yml
|
@ -20,16 +20,18 @@ steps:
|
||||||
- pwd
|
- pwd
|
||||||
- node -v
|
- node -v
|
||||||
- npm -v
|
- npm -v
|
||||||
- npm install -g pnpm
|
- npm install
|
||||||
- pnpm i
|
- npm run build:web
|
||||||
- pnpm build:web
|
|
||||||
|
|
||||||
- name: deploy-web
|
- name: deploy-web
|
||||||
image: appleboy/drone-scp:1.6
|
image: appleboy/drone-scp:1.6
|
||||||
settings:
|
settings:
|
||||||
host: mozzie.cn
|
host:
|
||||||
|
- backset.cn
|
||||||
username: root
|
username: root
|
||||||
password: cr654654.
|
password: cr654654.
|
||||||
port: 22
|
port: 22
|
||||||
|
overwrite: true
|
||||||
|
command_timeout: 2m
|
||||||
target: /www/wwwroot/nginx/html/backset.cn/
|
target: /www/wwwroot/nginx/html/backset.cn/
|
||||||
source: ./dist/*
|
source: ./dist/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user