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-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:
|
2019-07-11 07:15:13 +00:00
|
|
|
- .pio/build/nodemcu/firmware.bin
|
|
|
|
- .pio/build/nodemcu/firmware.elf
|
2019-03-29 18:23:32 +00:00
|
|
|
when:
|
2019-07-11 06:50:42 +00:00
|
|
|
event: tag
|