From 19a9ddeb20c52166de2320f4844c7d57a05727a3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 18 Jun 2026 13:44:19 +0200 Subject: [PATCH] fix(ci): robust branch extraction to fix target resolution --- .gitea/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d45a453a4..2000b7c7c 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -84,7 +84,9 @@ jobs: id: determine shell: bash run: | - REF="${{ github.ref_name }}" + RAW_REF="${{ github.ref }}" + REF="${RAW_REF#refs/heads/}" + REF="${REF#refs/tags/}" SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7) DOMAIN="e-tib.com" PRJ="etib"