Compare commits

..

No commits in common. "3e6cdf085b87a7a8e0c3f8dff47d7302ae4dbbcc" and "2e0902a6e23a4256a8406b6b307e858dc859fb17" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@ stages:
- sync
variables:
GOPATH: "/home/gopath"
SrcPath: "mongo.games.com/goserver" # 项目相对于GOPATH/src的路径
default:
@ -15,5 +16,4 @@ 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