更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-12-27 01:33:21 +00:00
parent b3d7245179
commit 26c7fb32c0
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ stages:
- sync - sync
variables: variables:
Path: "$GOPATH/mongo.games.com/game" # 项目相对于GOPATH的路径 SrcPath: "$GOPATH/mongo.games.com/game" # 项目相对于GOPATH的路径
default: default:
tags: tags:
@ -15,5 +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
- ls -al - echo $SrcPath
#- rsync -rvc --no-perms --delete ./* $PATH #- rsync -rvc --no-perms --delete ./* $SrcPath