flake/website/default.nix
matthewcroughan bd8f65bfbc website: push to gh-pages via hercules-ci.github-pages
This is pretty awesome, just two lines and the website is deployed.
2023-02-28 01:56:02 +00:00

10 lines
252 B
Nix

{
hercules-ci.github-pages.branch = "master";
perSystem = { pkgs, config, ... }: {
hercules-ci.github-pages.settings.contents = config.packages.website.webroot;
packages = {
website = pkgs.callPackage ./package.nix { };
};
};
}