This commit is contained in:
parent
2517b804bf
commit
7ea09d20b5
1 changed files with 16 additions and 16 deletions
32
.drone.yml
32
.drone.yml
|
@ -4,20 +4,20 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
commands:
|
commands:
|
||||||
- "pip install -U platformio"
|
- "pip install -U platformio"
|
||||||
- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
|
- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
|
||||||
- "platformio run --environment esp8266"
|
- "platformio run --environment esp8266"
|
||||||
- cp .pio/build/esp8266/firmware.bin esp8266.bin
|
- cp .pio/build/esp8266/firmware.bin esp8266.bin
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
settings:
|
settings:
|
||||||
base_url: https://gitea.makerlab-murnau.de
|
base_url: https://gitea.makerlab-murnau.de
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
files: ./*.bin
|
files: ./*.bin
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
Loading…
Reference in a new issue