From 3cbd6eace220d3a3c18cefcef32b8e136a74fb93 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 14 Apr 2024 08:49:10 -0600 Subject: [PATCH] add public release volume to build pipeline Allows us to get the latest build at any time from: https://public.deadbeef.codes/build/ --- .drone.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 71acef0..9019623 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,9 @@ steps: - name: build hyp linux-amd64 image: registry.deadbeef.codes/hyp-build:latest pull: always + volumes: + - name: publicrelease + path: /dist environment: GOOS: linux GOARCH: amd64 @@ -27,15 +30,19 @@ steps: - mkdir /dist - cd hyp - go build . - - mv hyp /dist + - mv -f hyp /dist - cd ../hypd/server - go generate - cd .. - go build . - - mv hypd /dist + - mv -f hypd /dist - name: release image: plugins/gitea-release + pull: always + volumes: + - name: publicrelease + path: /dist settings: api_key: from_secret: drone_token @@ -46,3 +53,8 @@ steps: include: - release +volumes: +- name: publicrelease + host: + path: /data/public/build +