diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f0e06b3..fe4e03a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,8 @@ build: script: # - platformio lib -g install 1 # - platformio ci --board=esp32thing - - sed -i "s/^\(#define WIFI_SSID \).*/\1\"$WIFI_SSID\"/" src/main.cpp - - sed -i "s/^\(#define WIFI_PASSWORD \).*/\1\"$WIFI_PASSWORD\"/" src/main.cpp + - sed -i "s/^\(#define WIFI_SSID \).*/\1\"$WIFI_SSID\"/" src/hardware.h + - sed -i "s/^\(#define WIFI_PASSWORD \).*/\1\"$WIFI_PASSWORD\"/" src/hardware.h - platformio run - ln -s .pioenvs/esp32thing build - cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin build/