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)