修改sed脚本
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f7cc3dc5cf
commit
5b22ff9cb2
|
@ -42,10 +42,10 @@ steps:
|
|||
- pwd
|
||||
- rm -rf ./app/*
|
||||
- cp -r /go/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
|
||||
- sed 's/\/manifest.json/\/static\/manifest.json/g' ./app/index.html
|
||||
- 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
|
||||
- sed 's?/manifest.json?/static/manifest.json?g' ./app/index.html
|
||||
- go build -o main
|
||||
- cp main /root/web/
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue