„.drone.yml“ ändern
ci/woodpecker/push/drone Pipeline failed Details

master
Dorian Zedler 2022-06-25 14:22:12 +00:00
parent 28b8229b50
commit e92056c70a
1 changed files with 17 additions and 22 deletions

View File

@ -1,23 +1,18 @@
---
kind: pipeline
type: docker
name: default
pipeline:
build:
image: python:3.6
commands:
- "pip install -U platformio"
#- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
- "platformio run --environment esp8266"
- cp .pio/build/esp8266/firmware.bin esp8266.bin
steps:
- name: build
image: python:3.6
commands:
- "pip install -U platformio"
#- "cp ampel-firmware/config.public.h ampel-firmware/config.h"
- "platformio run --environment esp8266"
- cp .pio/build/esp8266/firmware.bin esp8266.bin
- name: release
image: plugins/gitea-release
settings:
base_url: https://gitea.makerlab-murnau.de
api_key:
from_secret: gitea_token
files: ./*.bin
when:
event: tag
release:
image: plugins/gitea-release
settings:
base_url: https://git.makerlab-murnau.de
api_key:
from_secret: gitea_token
files: ./*.bin
when:
event: tag