测试是否会自动覆盖outdir
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
662c300ba5
commit
fd48b64163
|
@ -44,8 +44,7 @@ steps:
|
||||||
- sed -i 's?/logo192.png?/static/logo192.png?g' ./app/index.html
|
- sed -i 's?/logo192.png?/static/logo192.png?g' ./app/index.html
|
||||||
- sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html
|
- sed -i 's?/manifest.json?/static/manifest.json?g' ./app/index.html
|
||||||
- CGO_ENABLED=0 go build -o /root/web/main
|
- CGO_ENABLED=0 go build -o /root/web/main
|
||||||
# - cp main /root/web/
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: outdir
|
- name: outdir
|
||||||
host:
|
host:
|
||||||
path: /root/web
|
path: /root/web
|
||||||
|
|
Loading…
Reference in New Issue