build und release organisiert
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
starcalc 2022-06-07 21:52:07 +02:00
parent a64fb81862
commit 6669696bc5
1 changed files with 6 additions and 8 deletions

View File

@ -13,19 +13,17 @@ steps:
- sed -i "s/HOSTNAME/$hostname/g" platformio.ini - sed -i "s/HOSTNAME/$hostname/g" platformio.ini
- cat data/homie/config.json - cat data/homie/config.json
- pip install -U platformio - pip install -U platformio
- platformio run --environment esp8266 - platformio run --environment d1_mini
- platformio run --target upload --environment d1_mini
- platformio run --target uploadfs --environment d1_mini
- name: release
image: plugins/gitea-release
settings: settings:
base_url: https://gitea.ctdo.de
files: ./*.bin
hostname: hostname:
from_secret: hostname from_secret: hostname
IOTSSID: IOTSSID:
from_secret: iotssid from_secret: iotssid
iotpwd: iotpwd:
from_secret: iotpwd from_secret: iotpwd
- name: release
commands:
- platformio run --target upload --environment d1_mini
- platformio run --target uploadfs --environment d1_mini
when: when:
event: tag event: tag