From 453076a1ab1f66cc901061f7c1c1d5d5d91f9ba5 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 7 Jun 2022 22:38:19 +0200 Subject: [PATCH] filename --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b27a4bd..3bf9b48 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: image: cburki/mosquitto-clients commands: # - echo mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/\$localip" -C 1 - - mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/\$localip" -C 1 | tr -d '\n' >/tmp/lastknownip + - mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/\$localip" -C 1 | tr -d '\n' >lastknownip environment: hostname: from_secret: hostname @@ -18,7 +18,7 @@ steps: - sed -i "s/WIFIPASS/$iotpwd/" data/homie/config.json - sed -i "s/HOSTNAME/$hostname/g" data/homie/config.json - sed -i "s/HOSTNAME/$hostname/g" data/homie/config.json - - lastknownip=$(cat /tmp/lastknownip) + - lastknownip=$(cat lastknownip) - sed -i "s/HOSTNAME/$lastknownip/g" platformio.ini - cat data/homie/config.json - cat platformio.ini