diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ee6008..d79f142 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ stages: cache: paths: - "~/.platformio" + - ./interface/node_modules before_script: - "pip install -U platformio" @@ -16,7 +17,7 @@ build: script: - "platformio run -e esp12e" - vers=$(grep -Po '[0-9]*\.[0-9]*\.[0-9]*(?=\")' ./src/Pins.h) - - mv .pio/'build/esp12e/*.bin Pumpensteuerung-${vers}.bin + - mv .pio/build/esp12e/*.bin Pumpensteuerung-${vers}.bin artifacts: paths: - ./*.bin \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 0c7e945..53ab9c6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -20,11 +20,12 @@ build_flags= lib_compat_mode = strict ; Uncomment & modify the lines below in order to configure OTA updates -upload_flags = - --port=8266 - --auth=esp-react - --host_port=14515 -upload_port = 192.168.0.230 +;upload_flags = +; --port=8266 +; --auth=esp-react +; --host_port=14515 +;upload_port = 192.168.0.230 +;upload_protocol = espota framework = arduino monitor_speed = 115200