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