diff --git a/.drone.yml b/.drone.yml index 981605b..d8fa4e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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