deskcontrol/.drone.yml
True b8e68bed7c
All checks were successful
continuous-integration/drone/push Build is passing
Streamlining configuration. Added static code analysis.
2019-11-28 09:50:54 +01:00

27 lines
444 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: python:3
commands:
- pip install platformio
- pio check
- pio run
- name: upload
image: python:3
commands:
- make otaupload
when:
event: tag
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: DRONE_ACCESS_TOKEN
base_url: https://code.jcktrue.dk
files:
- .pio/build/nodemcu/firmware.bin
when:
event: tag