kind: pipeline name: default steps: - name: build image: python:3 commands: - pip install platformio - pio run - pio check --skip-packages --fail-on-defect medium > StaticCodeAnalysisReport.txt - name: docs image: corentinaltepe/doxygen commands: - doxygen - name: release-dev image: alpine volumes: - name: output path: /output commands: - mkdir -p /output/dev/ - cp .pio/build/max7456board/firmware.hex /output/dev/firmware.hex - cp -r docs/html/* /output/dev/docs/ - cp StaticCodeAnalysisReport.txt /output/dev/ - name: release-tag image: alpine volumes: - name: output path: /output commands: - cp -r /output/dev/ /output/${DRONE_SEMVER}/ when: event: - tag volumes: - name: output host: path: /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/