diff --git a/.drone.yml b/.drone.yml index a56164d..9130249 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,4 +45,28 @@ steps: settings: folder: web ssh_key: - from_secret: gitea-ssh-key \ No newline at end of file + 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* \ No newline at end of file