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
- 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
event: tag