2023-03-28 09:40:04 +02:00
|
|
|
# Export configuration for the views.
|
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
export-tvix = depot.tools.releases.filteredGitPush {
|
|
|
|
filter = ":workspace=views/tvix";
|
|
|
|
remote = "git@github.com:tvlfyi/tvix.git";
|
|
|
|
ref = "refs/heads/canon";
|
|
|
|
};
|
2023-03-28 09:40:20 +02:00
|
|
|
|
|
|
|
export-kit = depot.tools.releases.filteredGitPush {
|
|
|
|
filter = ":workspace=views/kit";
|
|
|
|
remote = "git@github.com:tvlfyi/kit.git";
|
|
|
|
ref = "refs/heads/canon";
|
|
|
|
};
|
2023-03-28 09:40:04 +02:00
|
|
|
in
|
|
|
|
(pkgs.runCommandLocal "export-views" { }
|
|
|
|
''
|
|
|
|
echo "no-op carrier target for repo export steps" | tee $out
|
|
|
|
'').overrideAttrs
|
|
|
|
(_: {
|
|
|
|
meta.ci.extraSteps = {
|
2023-03-28 09:40:20 +02:00
|
|
|
inherit export-tvix export-kit;
|
2023-03-28 09:40:04 +02:00
|
|
|
};
|
|
|
|
})
|
|
|
|
|