Add platformio build step
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
07861a01e4
commit
e2eb2c841c
24
.drone.yml
24
.drone.yml
|
@ -12,7 +12,12 @@ steps:
|
|||
- cd Api
|
||||
- go build
|
||||
# Platformio esp firmware
|
||||
# - name: build_esp
|
||||
- name: build_esp
|
||||
image: python:slim
|
||||
commands:
|
||||
- pip install -U platformio
|
||||
- cd ESP-Temp-Humidity
|
||||
- pio run
|
||||
# C# frontend
|
||||
# upload docker
|
||||
- name: upload_frontend
|
||||
|
@ -47,4 +52,19 @@ steps:
|
|||
registry: registry.jacknet.io
|
||||
auto_tag: true
|
||||
# upload firmware blob
|
||||
# - name: upload_esp
|
||||
- name: upload_esp
|
||||
image: plugins/gitea-release
|
||||
depends_on:
|
||||
- build
|
||||
# This step is only run when a branch is tagged in Gitea.
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
settings:
|
||||
base_url: https://git.jacknet.io
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
files:
|
||||
- ESP-Temp-Humidity\.pio\build\esp07\firmware.bin
|
||||
checksum:
|
||||
- sha1
|
Loading…
Reference in New Issue