From 8c1c718b9d95a815fb3b683f73e21cd2ebae0efd Mon Sep 17 00:00:00 2001 From: starcalc Date: Wed, 22 Jun 2022 19:21:36 +0200 Subject: [PATCH] Use a pipe symbol --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7752f43..5675d3a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,8 @@ steps: # Build file system image - platformio run --target buildfs --environment d1_mini # Upload image with espota-gateway - - 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 -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 # 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)