更新 '.drone.yml'
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
lingling 2023-09-12 08:57:29 +08:00
parent 9696928460
commit ab6b6a1a51
1 changed files with 6 additions and 1 deletions

View File

@ -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