kind: pipeline name: default steps: - name: build image: python:3 commands: - pip install platformio - pio run - pio check --skip-packages - name: docs image: corentinaltepe/doxygen commands: - doxygen - name: upload image: appleboy/drone-scp settings: host: jcktrue.dk username: from_secret: DRONE_USERNAME_SCP password: from_secret: DRONE_PASSWORD_SCP source: - .pio\build\max7456board\firmware.hex - docs/** target: - /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/dev rm: true - name: release image: appleboy/drone-scp settings: host: jcktrue.dk username: from_secret: DRONE_USERNAME_SCP password: from_secret: DRONE_PASSWORD_SCP source: - .pio\build\max7456board\firmware.hex - docs/** target: - /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/${DRONE_SEMVER} rm: true when: event: - tag