Fixing conditional
This commit is contained in:
parent
7f83f3f885
commit
0b0287a52d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ in {
|
||||||
services.laminar.cfgFiles.jobs = {
|
services.laminar.cfgFiles.jobs = {
|
||||||
"test-config.run" = pkgs.writeShellScript "test-config.run" ''
|
"test-config.run" = pkgs.writeShellScript "test-config.run" ''
|
||||||
${common}
|
${common}
|
||||||
if [[ "$BRANCH" == "refs/head/master" ]]; then
|
if [[ "$BRANCH" == "refs/heads/master" ]]; then
|
||||||
${pkgs.test-config}/bin/test-config
|
${pkgs.test-config}/bin/test-config
|
||||||
/run/wrappers/bin/sudo ${update-config}
|
/run/wrappers/bin/sudo ${update-config}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue