Compare commits
No commits in common. "2e0902a6e23a4256a8406b6b307e858dc859fb17" and "26c7fb32c0c0cf26bebe84a3a2bc7290e4a64ebb" have entirely different histories.
2e0902a6e2
...
26c7fb32c0
|
@ -2,8 +2,7 @@ stages:
|
|||
- sync
|
||||
|
||||
variables:
|
||||
GOPATH: "/home/gopath"
|
||||
SrcPath: "mongo.games.com/goserver" # 项目相对于GOPATH/src的路径
|
||||
SrcPath: "$GOPATH/mongo.games.com/game" # 项目相对于GOPATH的路径
|
||||
|
||||
default:
|
||||
tags:
|
||||
|
@ -16,4 +15,5 @@ sync_job:
|
|||
script:
|
||||
- git checkout $CI_COMMIT_REF_NAME
|
||||
- git pull origin $CI_COMMIT_REF_NAME
|
||||
- rsync -rvc --no-perms --delete ./* $GOPATH/src/$SrcPath
|
||||
- echo $SrcPath
|
||||
#- rsync -rvc --no-perms --delete ./* $SrcPath
|
Loading…
Reference in New Issue