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

This commit is contained in:
lingling 2023-09-11 17:54:19 +08:00
parent bbad6ae4a8
commit 3581467ece
1 changed files with 6 additions and 4 deletions

View File

@ -11,10 +11,12 @@ steps:
- name: clone_web - name: clone_web
image: alpine/git image: alpine/git
volumes:
- name: cache
path: /go
commands: commands:
- mkdir -p /drone/web - mkdir -p /go/web
- pwd - cd /go/web
- cd /drone/web
- 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 - cd go_echo_wol_web
- git checkout master - git checkout master
@ -22,7 +24,7 @@ steps:
- name: build_web - name: build_web
image: node image: node
commands: commands:
- cd /drone/web/go_echo_wol_web - cd /go/web/go_echo_wol_web
- pwd - 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