From 563de8b538b68287ce3bade133f7e491ea7686f2 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 1 Apr 2026 11:38:31 +0200 Subject: [PATCH] test: alternative 2 --- .gitea/workflows/hugo.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/hugo.yaml b/.gitea/workflows/hugo.yaml index 2bae1a7..fa17afe 100644 --- a/.gitea/workflows/hugo.yaml +++ b/.gitea/workflows/hugo.yaml @@ -50,8 +50,12 @@ jobs: run: hugo - name: Check for broken links - run: mise linkcheck --offline - continue-on-error: gitea.ref == 'refs/heads/main' + run: | + if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then + mise linkcheck --offline || true + else + mise linkcheck --offline + fi - name: Copy website to host uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0