From 94932d641f6ccabb3a73eec33a3ee70b17ac3812 Mon Sep 17 00:00:00 2001 From: slobinger <slobinger@mi.fu-berlin.de> Date: Wed, 14 Jun 2017 13:44:20 +0000 Subject: [PATCH] Update .gitlab-ci.yml specified stating and production enviroenment --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a228753..c8622ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,8 @@ build-master: expire_in: 1 hrs only: - master + environment: + name: staging test-and-deploy-master: stage: deploy @@ -44,13 +46,11 @@ test-and-deploy-master: - eval $(cat ENVIRONMENTS) - gdebi --non-interactive build/${PKGNAME}_${VERSION}_${ARCH}.deb environment: - name: staging + name: production only: - tags - master artifacts: paths: - build/* - expire_in: 1 mos - only: - - tags \ No newline at end of file + expire_in: 1 mos \ No newline at end of file -- GitLab