fix: fixed publish dates for builds
This commit is contained in:
parent
51b237dd8e
commit
cbd04018d2
2 changed files with 33 additions and 4 deletions
|
|
@ -18,16 +18,21 @@
|
|||
f {
|
||||
pkgs = import nixpkgs {inherit overlays system;};
|
||||
});
|
||||
|
||||
realSrc = /. + (builtins.getEnv "PWD");
|
||||
in {
|
||||
packages = forEachSupportedSystem ({pkgs}: {
|
||||
default = pkgs.callPackage ./nix/package.nix {
|
||||
siteUrl = "https://blog.jan-leila.com";
|
||||
src = realSrc;
|
||||
};
|
||||
blog = pkgs.callPackage ./nix/package.nix {
|
||||
siteUrl = "https://blog.jan-leila.com";
|
||||
src = realSrc;
|
||||
};
|
||||
volpe = pkgs.callPackage ./nix/package.nix {
|
||||
siteUrl = "https://volpe.jan-leila.com";
|
||||
src = realSrc;
|
||||
};
|
||||
});
|
||||
|
||||
|
|
@ -58,7 +63,8 @@
|
|||
echo "Building and deploying to cyberian@69.61.19.180..."
|
||||
nixos-rebuild switch --flake .#volpe \
|
||||
--target-host cyberian@69.61.19.180 \
|
||||
--sudo
|
||||
--sudo \
|
||||
--impure
|
||||
'');
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue