From fe9cf12d4f4573ff4602609f6db6da21e6627009 Mon Sep 17 00:00:00 2001 From: Kristina Date: Sun, 17 May 2026 21:44:49 +0200 Subject: [PATCH] release + html 6 --- .gitea/workflows/ci.yaml | 54 +++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d5e68e7..35df73c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -6,7 +6,7 @@ on: jobs: deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: image: catthehacker/ubuntu:act-22.04 volumes: @@ -14,64 +14,56 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Convertir y desplegar shell: bash run: | chmod +x convertir.sh - ./convertir.sh - + ./convertir.sh + - name: Obtener última tag - run: | + id: get_tag + run: | TAG=$(git describe --tags --abbrev=0) - echo "TAG=${TAG}" >> $GITHUB_ENV + echo "Última tag encontrada: $TAG" + echo "TAG=$TAG" >> $GITHUB_ENV - name: Crear release env: TOKEN: ${{ secrets.RELEASE_TOKEN }} + FORGEJO_API: ${{ github.api_url }} + REPO: ${{ github.repository }} + TAG: ${{ env.TAG }} run: | - TAG="${env.TAG}" - - JSON_PAYLOAD=$(cat <