更新.gitlab-ci.yml文件
This commit is contained in:
parent
9075f60b3f
commit
0207cb2f53
|
@ -67,8 +67,7 @@ push_job:
|
||||||
- echo '提交代码'
|
- echo '提交代码'
|
||||||
- git config user.email "ci@example.com" # 设置提交者的 email
|
- git config user.email "ci@example.com" # 设置提交者的 email
|
||||||
- git config user.name "GitLab CI" # 设置提交者的名称
|
- git config user.name "GitLab CI" # 设置提交者的名称
|
||||||
- cd $GOPATH/src/$DeployPath
|
|
||||||
- git checkout $CI_COMMIT_REF_NAME
|
- git checkout $CI_COMMIT_REF_NAME
|
||||||
- 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 $CI_COMMIT_REF_NAME
|
Loading…
Reference in New Issue