diff --git a/.drone.yml b/.drone.yml index 217b0fb..6b4c4dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,6 +23,9 @@ steps: - name: build_web image: node + volumes: + - name: cache + path: /go commands: - pwd - cd /go/web/go_echo_wol_web @@ -38,9 +41,11 @@ steps: - name: outdir host: path: /root/web + - name: cache + path: /go commands: - rm -rf ./app/* - - cp -r /drone/web/go_echo_wol_web/build ./app + - cp -r /go/web/go_echo_wol_web/build ./app - sed 's/\/static/\/static\/static/g' ./app/index.html - sed 's/\/favicon.ico/\/static\/favicon.ico/g' ./app/index.html - sed 's/\/logo192.png/\/static\/logo192.png/g' ./app/index.html