更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-10-14 05:42:57 +00:00
parent 17c29b246e
commit 8d51143e18
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ stages:
variables:
GOPATH: "/root/gopath"
ProjectPath: "mongo.games.com/game/"
DeployPath: "mongo.games.com/deploy/"
ProjectPath: "mongo.games.com/game"
DeployPath: "mongo.games.com/deploy"
default:
tags:
@ -16,7 +16,7 @@ build-job:
script:
# 拷贝到GOPATH
- echo '拷贝到GOPATH'
- cp -rfvp ./* $GOPATH/src/$ProjectPath
- cp -rf ./* $GOPATH/src/$ProjectPath
# 进入项目目录
- cd $GOPATH/src/$ProjectPath
# 编译