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-dev image: plugins/s3 settings: source: .pio\build\max7456board\firmware.hex docs/** bucket: build access_key: from_secret: DRONE_ACCESS_TOKEN secret_key: from_secret: DRONE_SECRET_TOKEN target: /MAX7456JSON/${DRONE_REPO_NAME}/dev endpoint: https://files.jcktrue.dk strip_prefix: true path_style: true