Update script to actually work

This commit is contained in:
decentral1se 2021-06-16 12:59:33 +02:00
parent bc8dc62ca1
commit a436b6ff92
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
#!/bin/sh
#!/bin/bash
FILE="$1"
/usr/bin/curl \
-H "Content-Type: application/json" \
-X GET \
-d '{"username":"xyz","password":"xyz"}' \
-d "{\"file\":\"${FILE}\"}" \
https://publish.lumbung.space