mirror-nixos-branch: stop pushing to nixpkgs-channels

The channel has been archived and doesn't take updates anymore.
This commit is contained in:
Jonas Chevalier 2021-09-08 19:41:10 +02:00
parent b05671cdb5
commit 1a2b045d2c
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -325,11 +325,6 @@ if ($dryRun) {
run("git remote update origin >&2");
run("git push origin $rev:refs/heads/$channelName >&2");
# Also update the nixpkgs-channels repo for compatibility.
if ($channelName =~ /20.03/ || $channelName =~ /19.09/) {
run("git push channels $rev:refs/heads/$channelName >&2");
}
# s-maxage=600: Serve from cache for 5 minutes.
# stale-while-revaliadate=1800: Serve from cache while updating in the background for 30 minutes.
# https://web.dev/stale-while-revalidate/