Compare commits
2 Commits
56ebb2ad2d
...
1175fd2a52
Author | SHA1 | Date |
---|---|---|
giaogiao | 1175fd2a52 | |
giaogiao | c1979dd8ad |
|
@ -6,6 +6,7 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||||
- go test
|
- go test
|
||||||
|
|
||||||
- name: clone_web
|
- name: clone_web
|
||||||
|
@ -39,6 +40,7 @@ steps:
|
||||||
host:
|
host:
|
||||||
path: /root/web
|
path: /root/web
|
||||||
commands:
|
commands:
|
||||||
|
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||||
- rm -rf ./app/*
|
- rm -rf ./app/*
|
||||||
- cp -r /web/build ./app
|
- cp -r /web/build ./app
|
||||||
- sed 's/\/static/\/static\/static/g' ./app/index.html
|
- sed 's/\/static/\/static\/static/g' ./app/index.html
|
||||||
|
|
Loading…
Reference in New Issue