deskcontrol/.drone.yml

26 lines
425 B
YAML
Raw Normal View History

2019-03-29 15:52:09 +00:00
kind: pipeline
name: default
steps:
- name: build
2019-07-11 06:50:42 +00:00
image: python:3
2019-03-29 15:52:09 +00:00
commands:
2019-03-29 20:49:51 +00:00
- pip install platformio
2019-03-29 18:35:06 +00:00
- pio run
2019-03-29 16:18:11 +00:00
- name: upload
2019-07-11 06:50:42 +00:00
image: python:3
2019-03-29 16:18:11 +00:00
commands:
2019-03-29 18:23:32 +00:00
- make otaupload
2019-07-11 07:22:33 +00:00
when:
event: tag
2019-03-29 18:23:32 +00:00
- name: release
image: plugins/gitea-release
settings:
2019-10-08 13:35:21 +00:00
api_key:
from_secret: gitea_api_key
2019-03-29 18:23:32 +00:00
base_url: https://code.jcktrue.dk
files:
2019-07-11 07:15:13 +00:00
- .pio/build/nodemcu/firmware.bin
2019-03-29 18:23:32 +00:00
when:
2019-07-11 06:50:42 +00:00
event: tag