Perform a git pull on the zion repository daily
This commit is contained in:
parent
854b2e5baf
commit
fbcefecba6
|
@ -130,4 +130,14 @@ in {
|
||||||
startAt = "*-*-15 14:00:00";
|
startAt = "*-*-15 14:00:00";
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Pull changes from zion daily
|
||||||
|
systemd.user.services.zion-pull = {
|
||||||
|
description = "Pull zion changes to git";
|
||||||
|
path = [ git ];
|
||||||
|
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/zion pull";
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
startAt = "10:00:00";
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue