From 808abf8230aa42f0472b25b8226e0ad18f353af6 Mon Sep 17 00:00:00 2001 From: Firq Date: Thu, 6 Jul 2023 19:45:00 +0200 Subject: [PATCH] restricted CI --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0de07f..fc3d89e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,9 @@ deploy-site: stage: deploy when: on_success only: - - main + - tags + except: + - branches before_script: - *ssh_default script: @@ -111,6 +113,10 @@ maintenance-mode: redeploy-site: stage: scripts when: manual + only: + - tags + except: + - branches before_script: - *ssh_default script: