Kein curl?
continuous-integration/drone Build is failing Details

This commit is contained in:
starcalc 2022-06-22 19:26:43 +02:00
parent 8c1c718b9d
commit 0e6de19b06
1 changed files with 2 additions and 1 deletions

View File

@ -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)