diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84792ac..e468eb1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,6 +85,7 @@ deploy: - chmod 644 ~/.ssh/known_hosts script: - scp build/.pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}" + - scp build/.pio/build/lolin_d32_pro/build.version "${SSH_USER_HOST}:${DEPLOY_PATH}".version dependencies: - build when: manual diff --git a/src/main.cpp b/src/main.cpp index 1b1c30f..3e9d71d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,8 @@ void setup() void loop() { + int array[10]; + array[11] = 0; // turn the LED on (HIGH is the voltage level) digitalWrite(LED_BUILTIN, HIGH); // wait for a second