From 36c402d777a14403b1a1cfe54eac447ed922a927 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 7 Jun 2022 18:14:58 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20hinzuf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d8a8ca6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +--- +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 \ No newline at end of file