From 0dfe6dfcd2d3ff259c543e39a498cfcb6301350e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Roman=20Dvo=C5=99=C3=A1k?= <xdvora19@fi.muni.cz>
Date: Thu, 19 Sep 2024 16:43:42 +0200
Subject: [PATCH] Update .gitlab-ci.yml to only run deploy stage on the manual
 start of the pipeline

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 459cafd..0cf9b7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,7 @@ setup:
 
 commit_zip:
   stage: commit
+  when: manual
   allow_failure: true
   script:
     - git config --global user.email "ci@gitlab.com"
@@ -60,6 +61,7 @@ build:
 
 pages:
   stage: deploy
+  when: manual
   script:
     - echo "Deploying pages"
   artifacts:
-- 
GitLab