feat(nixery): Automatically mirror subtree to Github
This exports the `:/tools/nixery` subtree to Github automatically after merges to `canon`. Due to the way the project was imported this continues the existing git history in the external repository. Change-Id: Ie871c14ad5d8f1019f8be86adecbe9b130ffb01a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5667 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
74c422d0a0
commit
85943eeed4
1 changed files with 8 additions and 0 deletions
|
@ -60,6 +60,14 @@ depot.nix.readTree.drvTargets rec {
|
|||
--set WEB_DIR "${nixery-book}" \
|
||||
--prefix PATH : ${nixery-prepare-image}/bin
|
||||
'';
|
||||
|
||||
# Nixery is mirrored to Github at tazjin/nixery; this is
|
||||
# automatically updated from CI for canon builds.
|
||||
passthru.meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush {
|
||||
filter = ":/tools/nixery";
|
||||
remote = "git@github.com:tazjin/nixery.git";
|
||||
ref = "refs/heads/master";
|
||||
};
|
||||
};
|
||||
|
||||
# Container image containing Nixery and Nix itself. This image can
|
||||
|
|
Loading…
Reference in a new issue