Browse Source

fix gitlab-ci

ci-test
Hendrik Langer 5 years ago
parent
commit
cf6dda26f1
  1. 4
      .gitlab-ci.yml

4
.gitlab-ci.yml

@ -15,7 +15,7 @@ build:
variables: {PLATFORMIO_CI_SRC: "src"} variables: {PLATFORMIO_CI_SRC: "src"}
artifacts: artifacts:
paths: paths:
- ".pio/build/lolin_d32_pro/*.bin" - .pio/build/lolin_d32_pro/*.bin
deploy: deploy:
stage: deploy stage: deploy
@ -31,6 +31,8 @@ deploy:
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- scp .pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}" - scp .pio/build/lolin_d32_pro/firmware.bin "${SSH_USER_HOST}:${DEPLOY_PATH}"
dependencies:
- build
when: manual when: manual
only: only:
- master - master

Loading…
Cancel
Save