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
14
.drone.yml
14
.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
|
||||
event: tag
|
Loading…
Reference in New Issue