Add CI configuration

This commit is contained in:
Joshua Boniface 2018-06-21 12:20:53 -04:00
parent 4fdafff9f3
commit 7e35267386
1 changed files with 26 additions and 0 deletions

26
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,26 @@
stages:
- build
- deploy
build:
stage: build
before_script:
- git submodule update --init
script:
- /usr/local/bin/build-package
artifacts:
when: on_failure
paths:
- public
expire_in: 5 min
only:
- master
deploy:
stage: deploy
script:
- /usr/local/bin/deploy-package
artifacts:
expire_in: 1 min
only:
- master