Cleanup
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
starcalc 2022-06-22 22:41:35 +02:00
parent f7457bd8b3
commit 0001ff4726
1 changed files with 3 additions and 11 deletions

View File

@ -40,18 +40,10 @@ steps:
- |
curl -k --request POST --url "https://espota.ctdo.de/" --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)
# - platformio run --target uploadfs --environment d1_mini
- |
curl -k --request POST --url "https://espota.ctdo.de/" --header "Content-Type: multipart/form-data" --form ip="$lastknownip" --form spiffs=@.pio/build/d1_mini/spiffs.bin -N
#- name: release
# image: python:3.10 # eclipse/platformio #
# commands:
# - pip install -U platformio
# - platformio run --target upload --environment d1_mini
# - platformio run --target uploadfs --environment d1_mini
### matrix-builds?
### matrix-builds? - for multiple volumeknobs?
### https://0-8-0.docs.drone.io/matrix-builds/
###