software/.drone.yml

18 lines
461 B
YAML
Raw Normal View History

2022-06-25 14:22:12 +00:00
pipeline:
build:
image: python:3.6
commands:
- "pip install -U platformio"
#- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
- "platformio run --environment esp8266"
- cp .pio/build/esp8266/firmware.bin esp8266.bin
2021-12-22 11:21:09 +00:00
2022-06-25 14:22:12 +00:00
release:
image: plugins/gitea-release
settings:
base_url: https://git.makerlab-murnau.de
api_key:
from_secret: gitea_token
files: ./*.bin
when:
event: tag