This commit is contained in:
parent
e950245371
commit
e718638df6
@ -18,12 +18,11 @@ steps:
|
||||
- name: build_web
|
||||
image: node
|
||||
commands:
|
||||
- tree
|
||||
- cd go_echo_wol_web
|
||||
- npm install yarn
|
||||
- yarn config set registry https://registry.npm.taobao.org --global
|
||||
- yarn
|
||||
- yarn build
|
||||
- pwd
|
||||
|
||||
- name: build
|
||||
image: golang
|
||||
@ -32,6 +31,7 @@ steps:
|
||||
host:
|
||||
path: /root/web
|
||||
commands:
|
||||
- pwd
|
||||
- rm -rf ./app/*
|
||||
- cp -r /go/web/go_echo_wol_web/build ./app
|
||||
- sed 's/\/static/\/static\/static/g' ./app/index.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user