nix/gitlab-ci: try to restrict deploy steps to only default

This commit is contained in:
Luke Granger-Brown 2022-03-20 10:26:56 +00:00
parent 4020f310ce
commit c60a68a354

View file

@ -51,6 +51,8 @@ let
name = machName; name = machName;
}; };
allow_failure = true; allow_failure = true;
only.refs = [ "branch/default" ];
} // lib.optionalAttrs (!mach.config.my.deploy.enable) { } // lib.optionalAttrs (!mach.config.my.deploy.enable) {
when = "manual"; when = "manual";
}); });