Add github release to pipeline when adding a tag
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -6,4 +6,18 @@ steps:
|
||||
- name: build
|
||||
image: shaguarger/platformio
|
||||
commands:
|
||||
- platformio run
|
||||
- platformio run
|
||||
- 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.bin
|
||||
checksum:
|
||||
- md5
|
||||
- sha256
|
||||
- crc32
|
||||
when:
|
||||
event: tag
|
||||
Reference in New Issue
Block a user