python3.10
This commit is contained in:
parent
5e2303bebc
commit
341a9f25ca
|
@ -12,7 +12,7 @@ steps:
|
||||||
hostname:
|
hostname:
|
||||||
from_secret: hostname
|
from_secret: hostname
|
||||||
- name: build
|
- name: build
|
||||||
image: eclipse/platformio # python:3.10
|
image: 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: eclipse/platformio # python:3.10
|
image: python:3.10 # eclipse/platformio #
|
||||||
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