From 72b84433722df70a5f3086eecd02441a19bed7d0 Mon Sep 17 00:00:00 2001 From: skeleton Date: Mon, 14 Oct 2024 10:03:44 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) 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