feat(ci): manually trigger updates

This commit is contained in:
arcnmx 2024-03-07 08:50:06 -08:00
parent 5bdf4f625f
commit 2be425648a
2 changed files with 3 additions and 1 deletions

View file

@ -96,3 +96,4 @@ name: flake-update
- .github/workflows/flake-update.yml
schedule:
- cron: 0 0 * * *
workflow_dispatch: {}

View file

@ -45,6 +45,7 @@ in {
cron = "0 0 * * *";
}
];
workflow_dispatch = { };
};
};
@ -66,7 +67,7 @@ in {
command = let
filteredHosts = [ "hakurei" "reimu" "aya" "tei" "litterbox" "mediabox" ];
gcBetweenHosts = false;
nodeBuildString = concatMapStringsSep " && " (node: "nix build -Lf . nixosConfigurations.${node}.config.system.build.toplevel -o result-${node}" + optionalString gcBetweenHosts " && nix-collect-garbage -d") filteredHosts;
nodeBuildString = concatMapStringsSep " && " (node: "nix build --show-trace -Lf . nixosConfigurations.${node}.config.system.build.toplevel -o result-${node}" + optionalString gcBetweenHosts " && nix-collect-garbage -d") filteredHosts;
hostPath = builtins.getEnv "PATH";
in ''
# ${toString builtins.currentTime}