From 54e2e96f5cf47ea5f608e8ba5d8e43bb2fb34155 Mon Sep 17 00:00:00 2001 From: Torsten Brendgen Date: Sat, 25 Apr 2026 17:40:43 +0200 Subject: [PATCH] rebuild workflow --- .gitea/workflows/tag-from-toc.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/tag-from-toc.yml b/.gitea/workflows/tag-from-toc.yml index 92493ec..bab6f1f 100644 --- a/.gitea/workflows/tag-from-toc.yml +++ b/.gitea/workflows/tag-from-toc.yml @@ -15,17 +15,25 @@ jobs: apt-get update apt-get install -y git grep sed + - name: Variablen setzen + run: | + set -e + echo "REPO=${{ gitea.repository }}" >> "$GITHUB_ENV" + echo "TAG=${{ gitea.ref_name }}" >> "$GITHUB_ENV" + echo "SERVER_URL=https://git.local.unique-studios.de" >> "$GITHUB_ENV" + echo "API_BASE=https://git.local.unique-studios.de/api/v1" >> "$GITHUB_ENV" + - name: Repo klonen run: | rm -rf /tmp/repo - git clone http://oauth2:${{ secrets.PAT_TOKEN }}@10.10.2.140:3000/Torsten/HailMaryGuildTools.git /tmp/repo + git clone https://oauth2:${{ secrets.PAT_TOKEN }}@git.local.unique-studios.de/${REPO}.git" /tmp/repo - name: Version aus TOC lesen run: | set -e cd /tmp/repo - TOC_FILE="HailMaryGuildTools.toc" + TOC_FILE="${REPO}.toc" if [ ! -f "$TOC_FILE" ]; then echo "TOC-Datei nicht gefunden: $TOC_FILE"