Compress gitlab CI into one stage

This commit is contained in:
Joshua Boniface 2018-06-23 15:26:27 -04:00
parent 5d56da0010
commit cf9419b8e8
1 changed files with 1 additions and 9 deletions

View File

@ -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