From 3581467ece7feae3ab07cdf36061d3abb3cdaaff Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Mon, 11 Sep 2023 17:54:19 +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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 220bc7c..e67e219 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,10 +11,12 @@ steps: - name: clone_web image: alpine/git + volumes: + - name: cache + path: /go commands: - - mkdir -p /drone/web - - pwd - - cd /drone/web + - mkdir -p /go/web + - cd /go/web - git clone https://git.shagain.club/lingling/go_echo_wol_web.git - cd go_echo_wol_web - git checkout master @@ -22,7 +24,7 @@ steps: - name: build_web image: node commands: - - cd /drone/web/go_echo_wol_web + - cd /go/web/go_echo_wol_web - pwd - npm install yarn - yarn config set registry https://registry.npm.taobao.org --global