platformio direkt?
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
b021ea29e8
commit
505436d907
|
@ -12,7 +12,7 @@ steps:
|
||||||
hostname:
|
hostname:
|
||||||
from_secret: hostname
|
from_secret: hostname
|
||||||
- name: build
|
- name: build
|
||||||
image: python:3.10
|
image: eclipse/platformio # python:3.10
|
||||||
commands:
|
commands:
|
||||||
- sed -i "s/WIFISSID/$IOTSSID/" data/homie/config.json
|
- sed -i "s/WIFISSID/$IOTSSID/" data/homie/config.json
|
||||||
- sed -i "s/WIFIPASS/$iotpwd/" data/homie/config.json
|
- sed -i "s/WIFIPASS/$iotpwd/" data/homie/config.json
|
||||||
|
@ -22,7 +22,7 @@ steps:
|
||||||
- sed -i "s/HOSTNAME/$lastknownip/g" platformio.ini
|
- sed -i "s/HOSTNAME/$lastknownip/g" platformio.ini
|
||||||
- cat data/homie/config.json
|
- cat data/homie/config.json
|
||||||
- cat platformio.ini
|
- cat platformio.ini
|
||||||
- pip install -U platformio
|
# - pip install -U platformio
|
||||||
- platformio run --environment d1_mini
|
- platformio run --environment d1_mini
|
||||||
environment:
|
environment:
|
||||||
hostname:
|
hostname:
|
||||||
|
@ -32,8 +32,8 @@ steps:
|
||||||
iotpwd:
|
iotpwd:
|
||||||
from_secret: iotpwd
|
from_secret: iotpwd
|
||||||
- name: release
|
- name: release
|
||||||
image: python:3.10
|
image: eclipse/platformio # python:3.10
|
||||||
commands:
|
commands:
|
||||||
- pip install -U platformio
|
# - pip install -U platformio
|
||||||
- platformio run --target upload --environment d1_mini
|
- platformio run --target upload --environment d1_mini
|
||||||
- platformio run --target uploadfs --environment d1_mini
|
- platformio run --target uploadfs --environment d1_mini
|
||||||
|
|
Loading…
Reference in New Issue