Files
arduino-nano-opst/.drone.yml
2020-10-19 15:49:06 +02:00

41 lines
807 B
YAML

kind: pipeline
type: docker
name: arduino-nano-opst
steps:
- name: build
image: shaguarger/platformio
commands:
- platformio run
- name: gitea_release_beta
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.lais.dev
files:
- .pio/build/nanoatmega328/firmware.elf
checksum:
- md5
- sha256
- crc32
title: ${DRONE_TAG}
when:
ref:
- refs/tags/+(0-9).+(0-9).+(1-9)
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.lais.dev
files:
- .pio/build/nanoatmega328/firmware.elf
checksum:
- md5
- sha256
- crc32
title: ${DRONE_TAG}
when:
ref:
- refs/tags/+(0-9).+(0-9).0