No curly brackets
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3a9fe6d301
commit
b99e6f91dc
|
@ -26,9 +26,10 @@ steps:
|
||||||
# Upload image with espota-gateway
|
# Upload image with espota-gateway
|
||||||
# All hosts receive the identical image
|
# All hosts receive the identical image
|
||||||
- |
|
- |
|
||||||
|
cat lastknownips
|
||||||
for thisip in $(cat lastknownips)
|
for thisip in $(cat lastknownips)
|
||||||
do
|
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
|
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
|
done
|
||||||
# Upload file system image with espota-gateway, leave it to espota-gateway to retry often enough
|
# Upload file system image with espota-gateway, leave it to espota-gateway to retry often enough
|
||||||
|
|
Loading…
Reference in New Issue