1 Commits

Author SHA1 Message Date
795043a639 Only upload on new release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2019-07-11 09:22:33 +02:00
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@ steps:
image: python:3 image: python:3
commands: commands:
- make otaupload - make otaupload
when:
event: tag
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:

View File

@ -3,4 +3,4 @@ build:
otaupload: otaupload:
pip install -r .pio/libdeps/nodemcu/Homie/scripts/ota_updater/requirements.txt 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