deskcontrol/.drone.yml
Jens True 0287456f1e
All checks were successful
continuous-integration/drone/push Build is passing
Version numbers done via tags
2019-11-29 10:14:03 +01:00

31 lines
500 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
branch:
- master
- 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
branch:
- master