Only upload on new release
This commit is contained in:
@ -11,6 +11,8 @@ steps:
|
||||
image: python:3
|
||||
commands:
|
||||
- make otaupload
|
||||
when:
|
||||
event: tag
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
|
2
Makefile
2
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
|
||||
|
Reference in New Issue
Block a user