parent
bb14ca58a1
commit
13558b3b53
@ -21,7 +21,8 @@ steps:
|
||||
- name: build_web
|
||||
image: node
|
||||
commands:
|
||||
- cd /drone/web/go_echo_wol_web
|
||||
- cd /drone/web/
|
||||
- pwd
|
||||
- npm install yarn
|
||||
- yarn config set registry https://registry.npm.taobao.org --global
|
||||
- yarn
|
||||
@ -34,7 +35,6 @@ steps:
|
||||
host:
|
||||
path: /root/web
|
||||
commands:
|
||||
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
- rm -rf ./app/*
|
||||
- cp -r /drone/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