diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03174ee..be37d80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - build - deploy + - push variables: ProjectPath: "mongo.games.com/game" @@ -58,6 +59,9 @@ deploy-job: rm -rf $line/$line done < shell/programs.txt +push_job: + stage: push + script: # 提交代码 - echo '提交代码' - cd $GOPATH/src/$DeployPath