修改
continuous-integration/drone/push Build is failing Details

This commit is contained in:
giaogiao 2023-09-12 12:22:53 +08:00
parent 8165c34941
commit 39a60834d0
1 changed files with 1 additions and 1 deletions

View File

@ -40,9 +40,9 @@ steps:
path: /root/web path: /root/web
commands: commands:
- apt-get update && apt-get install tree -y - apt-get update && apt-get install tree -y
- tree
- rm -rf ./app/* - rm -rf ./app/*
- cp -r /go/web/build/* ./app/ - cp -r /go/web/build/* ./app/
- tree
- sed 's?/static?/static/static?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?/favicon.ico?/static/favicon.ico?g' ./app/index.html
- sed 's?/logo192.png?/static/logo192.png?g' ./app/index.html - sed 's?/logo192.png?/static/logo192.png?g' ./app/index.html