From 0e6de19b067e442180ca8438e9546ea50cecb7d9 Mon Sep 17 00:00:00 2001 From: starcalc Date: Wed, 22 Jun 2022 19:26:43 +0200 Subject: [PATCH] Kein curl? --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5675d3a..687f515 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,8 +27,9 @@ steps: # Build file system image - platformio run --target buildfs --environment d1_mini # Upload image with espota-gateway + - curl --version - | - curl -s --request POST --url "http://espota.ctdo.de:8180/" --header "Content-Type: multipart/form-data" --form ip="$lastknownip" --form firmware=@.pio/build/d1_mini/firmware.bin -N + curl --request POST --url "http://espota.ctdo.de:8180/" --header "Content-Type: multipart/form-data" --form ip="$lastknownip" --form firmware=@.pio/build/d1_mini/firmware.bin -N # TODO: Upload file system image with espota-gateway, if the device is available again (or leave it to espota-gateway to retry often enough) #- platformio run --target upload --environment d1_mini # (Build if necessary and) Upload Filesystem Image (here: OTA)