2019-03-29 15:52:09 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2019-03-29 15:57:15 +00:00
|
|
|
image: python:2
|
2019-03-29 15:52:09 +00:00
|
|
|
commands:
|
2019-03-29 16:18:11 +00:00
|
|
|
- apt-get -y update && apt-get -y install git && pip install platformio
|
2019-03-29 18:35:06 +00:00
|
|
|
- pio run
|
2019-03-29 16:18:11 +00:00
|
|
|
- name: upload
|
|
|
|
image: python:2
|
|
|
|
commands:
|
2019-03-29 18:23:32 +00:00
|
|
|
- make otaupload
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
2019-03-29 20:48:18 +00:00
|
|
|
api_key: a7f3afc9f77e721951e48b4af66d7565700b7a2e
|
2019-03-29 18:23:32 +00:00
|
|
|
base_url: https://code.jcktrue.dk
|
|
|
|
files:
|
|
|
|
- .pioenvs/nodemcu/firmware.bin
|
|
|
|
- .pioenvs/nodemcu/firmware.elf
|
|
|
|
when:
|
|
|
|
event: tag
|