No curly brackets
continuous-integration/drone/push Build is failing Details

This commit is contained in:
starcalc 2022-08-30 19:49:07 +02:00
parent 3a9fe6d301
commit b99e6f91dc
1 changed files with 2 additions and 1 deletions

View File

@ -26,9 +26,10 @@ steps:
# Upload image with espota-gateway
# All hosts receive the identical image
- |
cat lastknownips
for thisip in $(cat lastknownips)
do
echo "Current IP to upload is ${thisip}"
echo "Current IP to upload is $thisip"
curl --insecure --no-progress-meter --fail-with-body --request POST --url "https://espota.ctdo.de/" --header "Content-Type: multipart/form-data" --form ip="$thisip" --form firmware=@.pio/build/d1_mini/firmware.bin --no-buffer
done
# Upload file system image with espota-gateway, leave it to espota-gateway to retry often enough