更新 '.drone.yml'
continuous-integration/drone/push Build is failing Details

This commit is contained in:
lingling 2023-09-11 17:48:02 +08:00
parent bb14ca58a1
commit 13558b3b53
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,8 @@ steps:
- name: build_web
image: node
commands:
- cd /drone/web/go_echo_wol_web
- cd /drone/web/
- pwd
- npm install yarn
- yarn config set registry https://registry.npm.taobao.org --global
- yarn
@ -34,7 +35,6 @@ steps:
host:
path: /root/web
commands:
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
- rm -rf ./app/*
- cp -r /drone/web/go_echo_wol_web/build ./app
- sed 's/\/static/\/static\/static/g' ./app/index.html