更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-10-14 11:44:43 +00:00
parent 9075f60b3f
commit 0207cb2f53
1 changed files with 2 additions and 3 deletions

View File

@ -67,8 +67,7 @@ push_job:
- 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 .
- git commit -m "auto commit pipelineId\:$CI_PIPELINE_ID"
- git push origin develop
- git commit -m "auto commit pipelineId $CI_PIPELINE_ID"
- git push origin $CI_COMMIT_REF_NAME