修改ci
This commit is contained in:
parent
4deee969f9
commit
f4fc8225ef
|
@ -36,8 +36,7 @@ lock_job:
|
|||
build-job:
|
||||
stage: build
|
||||
only:
|
||||
- develop
|
||||
- release
|
||||
- dev_login
|
||||
script:
|
||||
- git checkout $CI_COMMIT_REF_NAME
|
||||
- git pull origin $CI_COMMIT_REF_NAME
|
||||
|
@ -66,8 +65,7 @@ build-job:
|
|||
save-job:
|
||||
stage: save
|
||||
only:
|
||||
- develop
|
||||
- release
|
||||
- dev_login
|
||||
script:
|
||||
- cd $GOPATH/src/$ProjectPath
|
||||
# 拷贝文件
|
||||
|
@ -96,8 +94,7 @@ save-job:
|
|||
sync_job:
|
||||
stage: sync
|
||||
only:
|
||||
- develop
|
||||
- release
|
||||
- dev_login
|
||||
script:
|
||||
- cd $GOPATH/src/$ProjectPath
|
||||
- if [ "$CI_COMMIT_BRANCH" == "dev_login" ]; then
|
||||
|
|
Loading…
Reference in New Issue