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

This commit is contained in:
lingling 2023-09-12 09:34:41 +08:00
parent b117c7f683
commit d371e798d9
1 changed files with 3 additions and 2 deletions

View File

@ -15,10 +15,10 @@ steps:
- name: cache - name: cache
path: /go path: /go
commands: commands:
- cd /go - git clone https://git.shagain.club/lingling/go_echo_wol_web.git /go
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git
- cd go_echo_wol_web - cd go_echo_wol_web
- git checkout master - git checkout master
- ls /go
- name: build_web - name: build_web
image: node image: node
@ -26,6 +26,7 @@ steps:
- name: cache - name: cache
path: /go path: /go
commands: commands:
- ls /go
- cd /go/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