更新 '.drone.yml'
continuous-integration/drone/push Build is failing Details

This commit is contained in:
lingling 2023-09-12 09:32:52 +08:00
parent e718638df6
commit b117c7f683
1 changed files with 9 additions and 1 deletions

View File

@ -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