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

This commit is contained in:
lingling 2023-09-12 09:10:39 +08:00
parent e950245371
commit e718638df6
1 changed files with 2 additions and 2 deletions

View File

@ -18,12 +18,11 @@ steps:
- name: build_web
image: node
commands:
- tree
- cd go_echo_wol_web
- npm install yarn
- yarn config set registry https://registry.npm.taobao.org --global
- yarn
- yarn build
- pwd
- name: build
image: golang
@ -32,6 +31,7 @@ steps:
host:
path: /root/web
commands:
- pwd
- rm -rf ./app/*
- cp -r /go/web/go_echo_wol_web/build ./app
- sed 's/\/static/\/static\/static/g' ./app/index.html