更新 '.drone.yml'
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
9696928460
commit
ab6b6a1a51
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue