mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(ci): manually trigger updates
This commit is contained in:
parent
5bdf4f625f
commit
2be425648a
2 changed files with 3 additions and 1 deletions
1
.github/workflows/flake-update.yml
vendored
1
.github/workflows/flake-update.yml
vendored
|
|
@ -96,3 +96,4 @@ name: flake-update
|
|||
- .github/workflows/flake-update.yml
|
||||
schedule:
|
||||
- cron: 0 0 * * *
|
||||
workflow_dispatch: {}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue