Compare commits

..

4 Commits

Author SHA1 Message Date
skeleton 3e6cdf085b 更新.gitlab-ci.yml文件 2024-12-27 01:45:44 +00:00
skeleton 0d06224503 更新.gitlab-ci.yml文件 2024-12-27 01:43:44 +00:00
skeleton 5f9ad073a2 更新.gitlab-ci.yml文件 2024-12-27 01:42:49 +00:00
skeleton 14f4d5974f 更新.gitlab-ci.yml文件 2024-12-27 01:42:19 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,6 @@ stages:
- sync
variables:
GOPATH: "/home/gopath"
SrcPath: "mongo.games.com/goserver" # 项目相对于GOPATH/src的路径
default:
@ -16,4 +15,5 @@ sync_job:
script:
- git checkout $CI_COMMIT_REF_NAME
- git pull origin $CI_COMMIT_REF_NAME
- echo $GOPATH/src/$SrcPath
- rsync -rvc --no-perms --delete ./* $GOPATH/src/$SrcPath