From 9b45db7745d6dafc58b79c92794832845c108c57 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Mon, 11 Sep 2023 16:59:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index ddd6f72..de4a2d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ steps: image: node volumes: - name: bulid-workspace - path: /web + path: /root/web commands: - git clone https://git.shagain.club/lingling/go_echo_wol_web.git - git checkout master @@ -20,13 +20,13 @@ steps: - cd go_echo_wol_web - yarn - yarn build - - cp -r ./build /web/build + - cp -r ./build /root/web/build - name: build image: golang volumes: - name: bulid-workspace - path: /web + path: /root/web commands: - rm -rf ./app/* - cp -r /web/build ./app @@ -35,4 +35,4 @@ steps: - sed 's/\/logo192.png/\/static\/logo192.png/g' ./app/index.html - sed 's/\/manifest.json/\/static\/manifest.json/g' ./app/index.html - go build -o main - - cp main /web/build/ \ No newline at end of file + - cp main /root/web/build/ \ No newline at end of file