deskcontrol/.drone.yml
jct 91a29db8ed
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
Update '.drone.yml'
2019-11-29 10:08:21 +00:00

34 lines
543 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
checksum:
- md5
- sha1
- sha256
- sha512
- adler32
- crc32
when:
event: tag