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

This commit is contained in:
lingling 2023-09-12 09:50:39 +08:00
parent 97475fd271
commit 7c443c9714
1 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@ kind: pipeline
name: default name: default
workspace: workspace:
base: /web base: /go
path: src/github.com/octocat/hello-world path: src/github.com/octocat/hello-world
steps: steps:
@ -16,14 +16,15 @@ steps:
- name: clone_web - name: clone_web
image: alpine/git image: alpine/git
commands: commands:
- ls /web - mkdir /go/web
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git /web - ls /go/web
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git /go/web
- git checkout master - git checkout master
- name: build_web - name: build_web
image: node image: node
commands: commands:
- cd /web/ - cd /go/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