From 9075f60b3f67fed4f865e01a6de3737a6389c0a5 Mon Sep 17 00:00:00 2001 From: skeleton Date: Mon, 14 Oct 2024 11:42:36 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd74fa4..ceae477 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,6 +65,8 @@ push_job: script: # 提交代码 - echo '提交代码' + - git config user.email "ci@example.com" # 设置提交者的 email + - git config user.name "GitLab CI" # 设置提交者的名称 - cd $GOPATH/src/$DeployPath - git checkout $CI_COMMIT_REF_NAME - git add .