Files
arduino-nano-opst/.drone.yml
Pascal Lais 7df2776a52
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Update .drone.yml
2020-10-19 16:19:53 +02:00

46 lines
858 B
YAML

kind: pipeline
type: docker
name: arduino-nano-opst
steps:
- name: build
image: shaguarger/platformio
commands:
- platformio run
- name: gitea_prerelease
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.lais.dev
prerelease: true
files:
- .pio/build/nanoatmega328/firmware.elf
checksum:
- md5
- sha256
- crc32
title: ${DRONE_TAG}
when:
event: tag
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
ref:
- refs/tags/[0-9]*.[0-9]*.0