Compare commits

..

2 Commits

Author SHA1 Message Date
giaogiao 1175fd2a52 修改
continuous-integration/drone/push Build is failing Details
2023-09-11 17:27:04 +08:00
giaogiao c1979dd8ad 修改go mod 镜像源 2023-09-11 17:26:57 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -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