Add github release to pipeline when adding a tag
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -7,3 +7,17 @@ steps:
|
|||||||
image: shaguarger/platformio
|
image: shaguarger/platformio
|
||||||
commands:
|
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