This commit is contained in:
mozzie 2023-03-06 13:30:38 +08:00
parent e73ee01cb2
commit 20b8cdaaba

View File

@ -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/*