summaryrefslogtreecommitdiff
path: root/curl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'curl.sh')
-rwxr-xr-xcurl.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/curl.sh b/curl.sh
index 412192c..c4ff163 100755
--- a/curl.sh
+++ b/curl.sh
@@ -27,6 +27,12 @@ case "$cmd" in
runcurl -X GET https://wmf2-artifacts.vm.liw.fi/blobs/"$1"
;;
+ deploy)
+ runcurl -sv -X POST --data-binary @"$1" \
+ -H "Content-Type: application/octet-stream" \
+ https://wmf2-deployer.vm.liw.fi/publish
+ ;;
+
*)
echo "eek" 1>&2
exit 1