stages: - build - deploy build: stage: build before_script: - git submodule update --init script: - /usr/local/bin/build-package 0.1 - /usr/local/bin/deploy-package artifacts: when: on_failure paths: - public expire_in: 5 min only: - master