Compare commits
2 Commits
b0f6691a7d
...
a33780a3a7
Author | SHA1 | Date | |
---|---|---|---|
a33780a3a7 | |||
d2cd7f3445 |
@ -3,12 +3,12 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: python:2
|
||||
image: python:3
|
||||
commands:
|
||||
- pip install platformio
|
||||
- pio run
|
||||
- name: upload
|
||||
image: python:2
|
||||
image: python:3
|
||||
commands:
|
||||
- make otaupload
|
||||
- name: release
|
||||
@ -20,4 +20,4 @@ steps:
|
||||
- .pioenvs/nodemcu/firmware.bin
|
||||
- .pioenvs/nodemcu/firmware.elf
|
||||
when:
|
||||
event: tag
|
||||
event: tag
|
||||
|
4
Makefile
4
Makefile
@ -2,5 +2,5 @@ build:
|
||||
pio run
|
||||
|
||||
otaupload:
|
||||
pip install -r .piolibdeps/Homie/scripts/ota_updater/requirements.txt
|
||||
python .piolibdeps/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pioenvs/nodemcu/firmware.bin
|
||||
pip install -r .pio/libdeps/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
|
||||
|
Reference in New Issue
Block a user