diff --git a/.drone.yml b/.drone.yml index 1502fbd..66fa566 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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