From 4dbf52f3592febdb4f9ee233cb7d6687994f367e Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 30 Aug 2022 19:38:04 +0200 Subject: [PATCH] check internet --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f778591..356a6e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,13 +13,13 @@ steps: - for h in $(cat hosts); do echo $h; echo $h; done - for h in $(cat hosts); do mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1; done >lastknownips - for h in $(cat hosts); do echo -n "$h," >>lastknownhostips; mosquitto_sub -h raum.ctdo.de -t "homie/$h/\$localip" -C 1 >>lastknownhostips; done -# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' -# - mosquitto_sub -h raum.ctdo.de -t "homie/${HOST}/\$localip" -C 1 | tr -d '\n' >lastknownip - cat lastknownhostips - cat lastknownips - name: build image: suculent/platformio-docker-build commands: + # Check internet connection + - ping -c 1 heise.de # Build image - platformio run --environment d1_mini - name: upload image