diff --git a/.drone.yml b/.drone.yml index 163c7a8..605fc8a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,8 @@ steps: image: python:3 commands: - make otaupload + when: + event: tag - name: release image: plugins/gitea-release settings: diff --git a/Makefile b/Makefile index 3b7d08b..60a2cdc 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,4 @@ build: otaupload: pip install -r .pio/libdeps/nodemcu/Homie/scripts/ota_updater/requirements.txt - python .pio/libdeps/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pio/build/nodemcu/firmware.bin + python .pio/libdeps/nodemcu/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pio/build/nodemcu/firmware.bin