From c60a68a354334473193169f9dd48d25a43e9b311 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 20 Mar 2022 10:26:56 +0000 Subject: [PATCH] nix/gitlab-ci: try to restrict deploy steps to only default --- nix/gitlab-ci/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/gitlab-ci/default.nix b/nix/gitlab-ci/default.nix index ac67348745..d5bff40165 100644 --- a/nix/gitlab-ci/default.nix +++ b/nix/gitlab-ci/default.nix @@ -51,6 +51,8 @@ let name = machName; }; allow_failure = true; + + only.refs = [ "branch/default" ]; } // lib.optionalAttrs (!mach.config.my.deploy.enable) { when = "manual"; });