From 13558b3b5312dd7151712dee90a3b3a836f3fec1 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Mon, 11 Sep 2023 17:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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