Compare commits

...

2 Commits

Author SHA1 Message Date
skeleton 8214650eef 更新.gitlab-ci.yml文件 2024-10-14 05:37:32 +00:00
skeleton ce2ecdc8f6 更新.gitlab-ci.yml文件 2024-10-14 05:33:49 +00:00
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ stages:
- deploy - deploy
variables: variables:
GOPATH: "/root/gopath"
ProjectPath: "mongo.games.com/game" ProjectPath: "mongo.games.com/game"
DeployPath: "mongo.games.com/deploy" DeployPath: "mongo.games.com/deploy"
@ -62,6 +63,6 @@ deploy-job:
- echo '提交代码' - echo '提交代码'
- cd $GOPATH/src/$DeployPath - cd $GOPATH/src/$DeployPath
- git add . - git add .
- git commit -m "auto commit pipelineId: $CI_PIPELINE_ID" - git commit -m "auto commit pipelineId\:$CI_PIPELINE_ID"
- git push origin develop - git push origin develop