Erste Korrekturen
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details

This commit is contained in:
starcalc 2022-06-07 21:17:40 +02:00
parent 8540bf44af
commit e465083f7d
1 changed files with 5 additions and 3 deletions

View File

@ -6,11 +6,13 @@ steps:
- name: build
image: python:3.10
commands:
- "sed -i data/homie/config.json 's/WIFISSID/${iotssid}/'"
- "sed -i data/homie/config.json 's/WIFIPASS/${iotpwd}/'"
- "sed -i data/homie/config.json 's/HOSTNAME/${hostname}/g'"
- "sed -i data/homie/config.json 's/HOSTNAME/${hostname}/g'"
- "sed -i platformio.ini 's/HOSTNAME/${hostname}/g'"
- "pip install -U platformio"
- "platformio run --environment esp8266"
- "sed -i date/homie/config.json 's/WIFISSID/${iotssid}/'"
- "sed -i date/homie/config.json 's/WIFIPASS/${iotpwd}/'"
- "sed -i date/homie/config.json 's/HOSTNAME/${hostname}/g'"
- "platformio run --target upload --environment d1_mini"
- "platformio run --target uploadfs --environment d1_mini"
- name: release