From 832ee2646dca3100f7ec63b2e5a735104ee17afe Mon Sep 17 00:00:00 2001 From: starcalc Date: Wed, 22 Jun 2022 21:35:42 +0200 Subject: [PATCH] sed command changed --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5ea89c7..c785677 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,10 +13,10 @@ steps: - name: build image: eclipse/platformio commands: - - sed -i "s/WIFISSID/$IOTSSID/" data/homie/config.json - - 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 + - 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" - lastknownip=$(cat lastknownip) # - pip install -U platformio # Build image