From 7c443c97141783e28e0c0e2c1ac02ab4d4b7bd6d Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Tue, 12 Sep 2023 09:50: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 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e4e223e..3c9634b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ kind: pipeline name: default workspace: - base: /web + base: /go path: src/github.com/octocat/hello-world steps: @@ -16,14 +16,15 @@ steps: - name: clone_web image: alpine/git commands: - - ls /web - - git clone https://git.shagain.club/lingling/go_echo_wol_web.git /web + - mkdir /go/web + - ls /go/web + - git clone https://git.shagain.club/lingling/go_echo_wol_web.git /go/web - git checkout master - name: build_web image: node commands: - - cd /web/ + - cd /go/web/ - npm install yarn - yarn config set registry https://registry.npm.taobao.org --global - yarn