From cfc55364d10407d9e83166870a184d755ff67cf4 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Thu, 18 Jul 2019 02:43:20 +0200 Subject: [PATCH] fix build path --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82e24c9..42b003e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,13 +9,13 @@ build: - pip install -U platformio - platformio update script: - - platformio ci --project-conf platformio.ini --board=lolin_d32_pro -# - cp ~/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin .pioenvs/lolin_d32_pro/ -# - cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/default.bin .pioenvs/lolin_d32_pro/ + - platformio ci --project-conf platformio.ini --board=lolin_d32_pro --build-dir build --keep-build-dir +# - cp ~/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin build/.pio/build/lolin_d32_pro/ +# - cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/default.bin build/.pio/build/lolin_d32_pro/ variables: {PLATFORMIO_CI_SRC: "src"} artifacts: paths: - - .pio/build/lolin_d32_pro/*.bin + - build/.pio/build/lolin_d32_pro/*.bin deploy: stage: deploy @@ -30,7 +30,7 @@ deploy: - echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - - scp .pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}" + - scp build/.pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}" dependencies: - build when: manual