2024-06-06 15:52:20 +00:00
|
|
|
{ action-flake-update-pr-clan, writePureShellScriptBin }:
|
2023-08-03 14:45:53 +00:00
|
|
|
let
|
2024-06-06 15:52:20 +00:00
|
|
|
job-flake-update =
|
|
|
|
repo:
|
|
|
|
writePureShellScriptBin "job-flake-update-${repo}" [ action-flake-update-pr-clan ] ''
|
|
|
|
export REPO="gitea@git.clan.lol:clan/${repo}.git"
|
|
|
|
export KEEP_VARS="REPO''${KEEP_VARS:+ $KEEP_VARS}"
|
2023-08-03 14:45:53 +00:00
|
|
|
|
2024-06-06 15:52:20 +00:00
|
|
|
action-flake-update-pr-clan
|
|
|
|
'';
|
2023-08-03 14:45:53 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
job-flake-update-clan-core = job-flake-update "clan-core";
|
|
|
|
job-flake-update-clan-homepage = job-flake-update "clan-homepage";
|
|
|
|
job-flake-update-clan-infra = job-flake-update "clan-infra";
|
|
|
|
}
|