Use a pipe symbol
continuous-integration/drone/push Build is failing Details

This commit is contained in:
starcalc 2022-06-22 19:21:36 +02:00
parent 8589f8d290
commit 8c1c718b9d
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ steps:
# Build file system image # Build file system image
- platformio run --target buildfs --environment d1_mini - platformio run --target buildfs --environment d1_mini
# Upload image with espota-gateway # 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) # 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 #- platformio run --target upload --environment d1_mini
# (Build if necessary and) Upload Filesystem Image (here: OTA) # (Build if necessary and) Upload Filesystem Image (here: OTA)