From b99e6f91dc0e38b76f74bcb1882e954dc339cbf4 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Aug 2022 19:49:07 +0200 Subject: [PATCH] No curly brackets --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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