aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-02-05 19:08:10 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-02-05 22:09:43 +0100
commit6f7ef11537115aa2b837a2c5dcc29d1de9b31ec8 (patch)
tree7972b18322f60a9baa37e64b4022fd998e1d3168 /shell.nix
parent241db1e1f54073fd6fb40e886cca352b9dbc4e72 (diff)
downloadgarage-6f7ef11537115aa2b837a2c5dcc29d1de9b31ec8.tar.gz
garage-6f7ef11537115aa2b837a2c5dcc29d1de9b31ec8.zip
Generate and upload a JSON result
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/shell.nix b/shell.nix
index 1d70730e..57e95e01 100644
--- a/shell.nix
+++ b/shell.nix
@@ -51,9 +51,15 @@ function refresh_index {
--endpoint-url https://garage.deuxfleurs.fr \
--region garage \
s3 cp \
- --content-type "text/html" \
- result \
- s3://garagehq.deuxfleurs.fr/_releases.html
+ result/share/_releases.json \
+ s3://garagehq.deuxfleurs.fr/
+
+ aws \
+ --endpoint-url https://garage.deuxfleurs.fr \
+ --region garage \
+ s3 cp \
+ result/share/_releases.html \
+ s3://garagehq.deuxfleurs.fr/
}
function refresh_toolchain {