From 57b3b25974dfa5aadd40abfa8ba41747d5a80c7e Mon Sep 17 00:00:00 2001 From: Michal Stopyra Date: Mon, 2 Jan 2023 13:56:57 +0000 Subject: [PATCH] feat: only run pipeline manually from web --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63b717a..290a390 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,11 @@ image: "registry.getcryst.al/crystal/misc/docker:latest" iso: + rules: + - if: '$CI_PIPELINE_SOURCE == "web"' + when: always + - when: never + before_script: | # Ensure container is up to date and has necessary packages pacman -Syu --needed --noconfirm @@ -8,6 +13,7 @@ iso: # Ensure repo.getcryst.al is up nslookup repo.getcryst.al + script: | # Set ${BUILD_DATE} # ISO-8601 Format