From e465083f7d26ff5114b5f55d44dbb5c6a6febc20 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 7 Jun 2022 21:17:40 +0200 Subject: [PATCH] Erste Korrekturen --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4451cff..377660a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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