From e718638df6f468e28d820316613567e085226d86 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Tue, 12 Sep 2023 09:10:39 +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 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