software/.drone.yml
Dorian Zedler 4ab7fa3ed6
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Update '.drone.yml'
2021-12-22 11:40:46 +00:00

23 lines
No EOL
490 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: 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
- name: release
image: plugins/gitea-release
settings:
base_url: https://gitea.makerlab-murnau.de
api_key:
from_secret: gitea_token
files: ./*.bin
when:
event: tag