Files
arduino-nano-opst/.drone.yml
Pascal Lais 305e7b8b89
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
Update .drone.yml
2020-10-19 15:59:40 +02:00

45 lines
857 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:
event: tag
trigger:
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:
event: tag
trigger:
ref:
- refs/tags/+(0-9).+(0-9).0