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: release image: plugins/gitea-release settings: api_key: from_secret: DRONE_ACCESS_TOKEN base_url: https://code.jcktrue.dk files: - .pio/build/max7456board/firmware.hex when: event: tag - name: upload image: appleboy/drone-scp settings: host: jcktrue.dk username: from_secret: DRONE_USERNAME_SCP secret_key: from_secret: DRONE_PASSWORD_SCP source: - .pio\build\max7456board\firmware.hex - docs/** target: /apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/dev rm: true