Fetch $localip from mqtt.ctdo.de
continuous-integration/drone/push Build is failing Details

This commit is contained in:
starcalc 2022-06-07 22:32:37 +02:00
parent 5eda2a404d
commit 7c69893a2b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ steps:
image: cburki/mosquitto-clients
commands:
- echo mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/\$localip" -C 1
# - lastknownip=$(mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/$$localip" -C 1)
- lastknownip=$(mosquitto_sub -h mqtt.ctdo.de -t "homie/$hostname/\$localip" -C 1)
environment:
hostname:
from_secret: hostname