更新 '.drone.yml'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
e718638df6
commit
b117c7f683
10
.drone.yml
10
.drone.yml
|
@ -11,14 +11,22 @@ steps:
|
||||||
|
|
||||||
- name: clone_web
|
- name: clone_web
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
|
- cd /go
|
||||||
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git
|
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git
|
||||||
|
- cd go_echo_wol_web
|
||||||
- git checkout master
|
- git checkout master
|
||||||
|
|
||||||
- name: build_web
|
- name: build_web
|
||||||
image: node
|
image: node
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- cd go_echo_wol_web
|
- cd /go/go_echo_wol_web
|
||||||
- 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
|
||||||
|
|
Loading…
Reference in New Issue