From 977773fe942dbbc83fa912a85c0e3072c68a536e Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 5 Feb 2026 10:56:42 +0100 Subject: [PATCH] fix(ci): add debug info and make maintenance optional --- .gitea/workflows/deploy.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cc87ea5..e33629d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -28,10 +28,17 @@ jobs: directus_host: ${{ steps.determine.outputs.directus_host }} project_name: ${{ steps.determine.outputs.project_name }} steps: - - name: ๐Ÿงน Maintenance (Runner Cleanup) + - name: ๐Ÿ” Debug Info run: | - docker image prune -f - docker builder prune -f --filter "until=24h" + echo "ref_name: ${{ github.ref_name }}" + echo "ref_type: ${{ github.ref_type }}" + echo "tag: ${{ github.ref_name }}" + + - name: ๐Ÿงน Maintenance (Runner Cleanup) + continue-on-error: true + run: | + docker image prune -f || true + docker builder prune -f --filter "until=24h" || true - name: Checkout repository uses: actions/checkout@v4 @@ -66,6 +73,7 @@ jobs: TARGET="skip" fi + echo "Target determined: $TARGET" echo "target=$TARGET" >> "$GITHUB_OUTPUT" echo "image_tag=$IMAGE_TAG" >> "$GITHUB_OUTPUT" echo "env_file=$ENV_FILE" >> "$GITHUB_OUTPUT"