pvc/.gitlab-ci.yml

27 lines
384 B
YAML

stages:
- build
- deploy
build:
stage: build
before_script:
- git submodule update --init
script:
- /usr/local/bin/build-package 0.1
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