From 1dd1640cbe2095bae724232a31ed24cc36168c84 Mon Sep 17 00:00:00 2001 From: s3lph Date: Thu, 2 Aug 2018 17:21:22 +0200 Subject: [PATCH] Updated CI pipeline config to only deploy to staging on the branch "staging". --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5bfad1b..9ac4c38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ build: - docker push "registry.gitlab.com/s3lph/matemat:$(git rev-parse HEAD)" - docker push registry.gitlab.com/s3lph/matemat:latest-staging only: - - /^staging-.*$/ + - staging staging: stage: staging @@ -41,4 +41,4 @@ staging: name: staging url: https://matemat.kernelpanic.lol/ only: - - /^staging-.*$/ + - staging