更新.gitlab-ci.yml文件
This commit is contained in:
parent
a4f6aab012
commit
216d84c669
|
@ -15,6 +15,7 @@ build-job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
|
resource_group: $RESOURCE_GROUP
|
||||||
script:
|
script:
|
||||||
- git checkout $CI_COMMIT_REF_NAME
|
- git checkout $CI_COMMIT_REF_NAME
|
||||||
# 拷贝到GOPATH
|
# 拷贝到GOPATH
|
||||||
|
@ -39,6 +40,7 @@ save-job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
|
resource_group: $RESOURCE_GROUP
|
||||||
script:
|
script:
|
||||||
- cd $GOPATH/src/$ProjectPath
|
- cd $GOPATH/src/$ProjectPath
|
||||||
# 拷贝文件
|
# 拷贝文件
|
||||||
|
@ -69,6 +71,7 @@ sync_job:
|
||||||
only:
|
only:
|
||||||
- develop
|
- develop
|
||||||
- release
|
- release
|
||||||
|
resource_group: $RESOURCE_GROUP
|
||||||
script:
|
script:
|
||||||
- cd $GOPATH/src/$ProjectPath
|
- cd $GOPATH/src/$ProjectPath
|
||||||
- if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
|
- if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
|
||||||
|
|
Loading…
Reference in New Issue