Skip to content

Commit

Permalink
feat(nixery): Automatically mirror subtree to Github
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tazjin committed May 26, 2022
1 parent 137ff90 commit 79bbc5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]:tazjin/nixery.git";
ref = "refs/heads/master";
};
};

# Container image containing Nixery and Nix itself. This image can
Expand Down

0 comments on commit 79bbc5a

Please sign in to comment.