更新 '.drone.yml'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
bb14ca58a1
commit
13558b3b53
|
@ -21,7 +21,8 @@ steps:
|
||||||
- name: build_web
|
- name: build_web
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- cd /drone/web/go_echo_wol_web
|
- cd /drone/web/
|
||||||
|
- pwd
|
||||||
- npm install yarn
|
- npm install yarn
|
||||||
- yarn config set registry https://registry.npm.taobao.org --global
|
- yarn config set registry https://registry.npm.taobao.org --global
|
||||||
- yarn
|
- yarn
|
||||||
|
@ -34,7 +35,6 @@ steps:
|
||||||
host:
|
host:
|
||||||
path: /root/web
|
path: /root/web
|
||||||
commands:
|
commands:
|
||||||
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
|
||||||
- rm -rf ./app/*
|
- rm -rf ./app/*
|
||||||
- cp -r /drone/web/go_echo_wol_web/build ./app
|
- cp -r /drone/web/go_echo_wol_web/build ./app
|
||||||
- sed 's/\/static/\/static\/static/g' ./app/index.html
|
- sed 's/\/static/\/static\/static/g' ./app/index.html
|
||||||
|
|
Loading…
Reference in New Issue