Add scripts to try and get this to work
parent
b30bb30021
commit
ddec052cff
|
@ -22,7 +22,7 @@ in
|
|||
enable = true;
|
||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
||||
serviceConfig = {
|
||||
ExecStart = "cd ${PROJECT_ROOT}/cutesealfanpage.love; nix run .#hakyll-site -- watch --no-server";
|
||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
||||
};
|
||||
# script = ''
|
||||
# cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||
|
@ -34,10 +34,9 @@ in
|
|||
enable = true;
|
||||
description = "The haskell script that creates the new post of the day.";
|
||||
startAt = "08:12:42";
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||
${pkgs.nix}/bin/nix run .#generateSealPosts
|
||||
'';
|
||||
serviceConfig = {
|
||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue