CI: do gitea release on tag
This commit is contained in:
parent
9645fb0052
commit
c9f3883c19
1 changed files with 25 additions and 1 deletions
26
.drone.yml
26
.drone.yml
|
@ -45,4 +45,28 @@ steps:
|
|||
settings:
|
||||
folder: web
|
||||
ssh_key:
|
||||
from_secret: gitea-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