From a24f6ddb59eec2bcdfd1bc136df4b8484be2b649 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 30 Sep 2023 23:53:03 +0100 Subject: [PATCH] ci: only run deployment if the actual config files got updated --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74bfb63..78f18e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,6 +74,12 @@ update: - *scripts_base rules: - if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + changes: + - flake.nix + - flake.lock + - applications/**/* + - machines/**/* + - secrets/**/* build: <<: *builder