23 lines
491 B
YAML
23 lines
491 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: python:2
|
|
commands:
|
|
- apt-get -y update && apt-get -y install git && pip install platformio
|
|
- pio run
|
|
- name: upload
|
|
image: python:2
|
|
commands:
|
|
- make otaupload
|
|
- name: release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
api_key: ef6a0baa30f8994719e236370290ac9f8bbbdb1d
|
|
base_url: https://code.jcktrue.dk
|
|
files:
|
|
- .pioenvs/nodemcu/firmware.bin
|
|
- .pioenvs/nodemcu/firmware.elf
|
|
when:
|
|
event: tag |