Upload channels artifacts (or links to those artifacts) to download.nixos.org

This will enable us to move nixos.org website to other location as
described in nixos/nixos-homepage#326
This commit is contained in:
Rok Garbas 2020-02-17 13:16:22 +01:00
parent a04700b949
commit d1fb4bf67a
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -247,4 +247,4 @@ system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
flock($lockfile, LOCK_UN) or die "cannot release channels lock\n"; flock($lockfile, LOCK_UN) or die "cannot release channels lock\n";
# Upload to nixos.org. # Upload to nixos.org.
system("rsync -avx $channelsDir/ hydra-mirror\@nixos.org:/releases/channels/") == 0 or die; system("rsync -avx $channelsDir/ hydra-mirror\@download.nixos.org:/releases/channels/") == 0 or die;