CI: do gitea release on tag
This commit is contained in:
parent
9645fb0052
commit
c9f3883c19
1 changed files with 25 additions and 1 deletions
24
.drone.yml
24
.drone.yml
|
@ -46,3 +46,27 @@ steps:
|
|||
folder: web
|
||||
ssh_key:
|
||||
from_secret: gitea-ssh-key
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: release
|
||||
depends_on:
|
||||
- build-receiver-windows
|
||||
- build-and-deploy-web
|
||||
steps:
|
||||
- name: download-receiver
|
||||
image: alpine/curl
|
||||
commands:
|
||||
- curl https://itsblue.dev/api/packages/dorian/generic/ok-ready-go/$DRONE_COMMIT_SHA/receiver-windows.exe -o receiver-windows.exe
|
||||
|
||||
- name: gitea-release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://itsblue.dev
|
||||
api_key:
|
||||
from_secret: gitea-token
|
||||
files: ./receiver-windows.exe
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/tags/v*
|
Loading…
Reference in a new issue