software/.drone.yml
Radim Lipovčan d496ea8279
All checks were successful
continuous-integration/drone/tag Build is passing
Update '.drone.yml'
2022-02-07 18:27:27 +01:00

22 lines
491 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://git.lipovcan.cz
api_key: 1fc5d23e7f697be064039a594c1aace0f5a502a6
files: ./*.bin
when:
event: tag