From 6669696bc5c6b579d62e3d82c37d67b7482d4a67 Mon Sep 17 00:00:00 2001 From: starcalc Date: Tue, 7 Jun 2022 21:52:07 +0200 Subject: [PATCH] build und release organisiert --- .drone.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index e5b3cc4..cfca627 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,19 +13,17 @@ steps: - sed -i "s/HOSTNAME/$hostname/g" platformio.ini - cat data/homie/config.json - pip install -U platformio - - platformio run --environment esp8266 - - platformio run --target upload --environment d1_mini - - platformio run --target uploadfs --environment d1_mini -- name: release - image: plugins/gitea-release + - platformio run --environment d1_mini settings: - base_url: https://gitea.ctdo.de - files: ./*.bin hostname: from_secret: hostname IOTSSID: from_secret: iotssid iotpwd: from_secret: iotpwd +- name: release + commands: + - platformio run --target upload --environment d1_mini + - platformio run --target uploadfs --environment d1_mini when: - event: tag \ No newline at end of file + event: tag \ No newline at end of file