From abdafd68cdf1442de2a7e59b3ad4c6befb6da910 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Mon, 17 Jul 2017 22:01:02 +0200 Subject: [PATCH] Now also zip API code for easier release and installation --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58602d296..d10b17a3d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,6 +80,20 @@ docker_develop: tags: - dind +build_api: + # Simply publish a zip containing api/ directory + stage: deploy + image: busybox + artifacts: + name: "api_${CI_COMMIT_REF_NAME}" + paths: + - api + only: + - tags + - master + - develop + + docker_release: stage: deploy before_script: