Merge pull request #33 from garbas/push-channels-to-s3-bucket

Push channels to s3 bucket (fix)
This commit is contained in:
Eelco Dolstra 2020-03-06 11:23:10 +01:00 committed by GitHub
commit e6183b61ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,4 +225,5 @@ system("git push origin $rev:refs/heads/$channelName >&2") == 0 or die;
system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die; system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
# Update channel on channels.nixos.org # Update channel on channels.nixos.org
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location header" => $target }); $bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target });
$bucketChannels->add_key("$channelsDir/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" });