Compress gitlab CI into one stage
This commit is contained in:
parent
5d56da0010
commit
cf9419b8e8
|
@ -8,6 +8,7 @@ build:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
script:
|
script:
|
||||||
- /usr/local/bin/build-package 0.1
|
- /usr/local/bin/build-package 0.1
|
||||||
|
- /usr/local/bin/deploy-package
|
||||||
artifacts:
|
artifacts:
|
||||||
when: on_failure
|
when: on_failure
|
||||||
paths:
|
paths:
|
||||||
|
@ -15,12 +16,3 @@ build:
|
||||||
expire_in: 5 min
|
expire_in: 5 min
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
deploy:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- /usr/local/bin/deploy-package
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 min
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
Loading…
Reference in New Issue