Wetterstation v2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
775 B

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: python
environment:
PLATFORMIO_CI_SRC: "src"
commands:
- pip install -U platformio
- platformio run
- platformio ci --lib="script" --project-conf platformio.ini --board=lolin_d32_pro --build-dir="build" --keep-build-dir
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://dev.xd0.de
files:
- .pio/build/lolin_d32_pro/*.bin
when:
event: tag
- name: notify
image: drillster/drone-email
settings:
host: mail.xd0.de
from: drone@xd0.de
recipients:
- hendrik+dev@xd0.de
when:
status: [ changed, failure ]