This commit is contained in:
parent
97475fd271
commit
7c443c9714
@ -3,7 +3,7 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
workspace:
|
||||
base: /web
|
||||
base: /go
|
||||
path: src/github.com/octocat/hello-world
|
||||
|
||||
steps:
|
||||
@ -16,14 +16,15 @@ steps:
|
||||
- name: clone_web
|
||||
image: alpine/git
|
||||
commands:
|
||||
- ls /web
|
||||
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git /web
|
||||
- mkdir /go/web
|
||||
- ls /go/web
|
||||
- git clone https://git.shagain.club/lingling/go_echo_wol_web.git /go/web
|
||||
- git checkout master
|
||||
|
||||
- name: build_web
|
||||
image: node
|
||||
commands:
|
||||
- cd /web/
|
||||
- cd /go/web/
|
||||
- npm install yarn
|
||||
- yarn config set registry https://registry.npm.taobao.org --global
|
||||
- yarn
|
||||
|
Loading…
x
Reference in New Issue
Block a user