测试是否会自动覆盖outdir
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giaogiao 2023-09-12 16:06:02 +08:00
parent 662c300ba5
commit fd48b64163
1 changed files with 1 additions and 2 deletions

View File

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