From 35372445799d5c715f986707f701dcee76a60726 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Thu, 2 Jul 2020 22:05:02 +0200 Subject: [PATCH] Add option to force deployment using $FORCE_DEPLOY --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f59e294..dab906b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,10 @@ kubernetes: - turniere-deploy stage: deploy only: - - master + refs: + - master + variables: + - $FORCE_DEPLOY image: ruby variables: KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: gitlab-deploy @@ -37,7 +40,10 @@ deploy_watchtower: - docker stage: deploy only: - - master + refs: + - master + variables: + - $FORCE_DEPLOY image: docker services: - docker:dind