Compare commits

..

No commits in common. "2e0902a6e23a4256a8406b6b307e858dc859fb17" and "26c7fb32c0c0cf26bebe84a3a2bc7290e4a64ebb" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,7 @@ stages:
- sync - sync
variables: variables:
GOPATH: "/home/gopath" SrcPath: "$GOPATH/mongo.games.com/game" # 项目相对于GOPATH的路径
SrcPath: "mongo.games.com/goserver" # 项目相对于GOPATH/src的路径
default: default:
tags: tags:
@ -16,4 +15,5 @@ sync_job:
script: script:
- git checkout $CI_COMMIT_REF_NAME - git checkout $CI_COMMIT_REF_NAME
- git pull origin $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