更新.gitlab-ci.yml文件
This commit is contained in:
parent
17c29b246e
commit
8d51143e18
|
@ -4,8 +4,8 @@ stages:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GOPATH: "/root/gopath"
|
GOPATH: "/root/gopath"
|
||||||
ProjectPath: "mongo.games.com/game/"
|
ProjectPath: "mongo.games.com/game"
|
||||||
DeployPath: "mongo.games.com/deploy/"
|
DeployPath: "mongo.games.com/deploy"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
tags:
|
tags:
|
||||||
|
@ -16,7 +16,7 @@ build-job:
|
||||||
script:
|
script:
|
||||||
# 拷贝到GOPATH
|
# 拷贝到GOPATH
|
||||||
- echo '拷贝到GOPATH'
|
- echo '拷贝到GOPATH'
|
||||||
- cp -rfvp ./* $GOPATH/src/$ProjectPath
|
- cp -rf ./* $GOPATH/src/$ProjectPath
|
||||||
# 进入项目目录
|
# 进入项目目录
|
||||||
- cd $GOPATH/src/$ProjectPath
|
- cd $GOPATH/src/$ProjectPath
|
||||||
# 编译
|
# 编译
|
||||||
|
|
Loading…
Reference in New Issue