build und release organisiert
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
a64fb81862
commit
6669696bc5
12
.drone.yml
12
.drone.yml
|
@ -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
|
Loading…
Reference in New Issue