nix/gitlab-ci: try to restrict deploy steps to only default
This commit is contained in:
parent
4020f310ce
commit
c60a68a354
1 changed files with 2 additions and 0 deletions
|
@ -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";
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue