From f8e88f98b5c441c53c7ed18ad85e2dab775fe509 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Tue, 12 Sep 2023 09:06:47 +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 | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3a2b792..81e01e2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,29 +11,18 @@ steps: - name: clone_web image: alpine/git - volumes: - - name: cache - path: /go commands: - - 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 - name: build_web image: node - volumes: - - name: cache - path: /go commands: - - pwd - - cd /go/web/go_echo_wol_web - - pwd - npm install yarn - yarn config set registry https://registry.npm.taobao.org --global - yarn - yarn build + - pwd - name: build image: golang @@ -41,9 +30,6 @@ steps: - name: outdir host: path: /root/web - volumes: - - name: cache - path: /go commands: - rm -rf ./app/* - cp -r /go/web/go_echo_wol_web/build ./app