fix: broken links, add check to CI
All checks were successful
Website build and deploy / build (pull_request) Successful in 42s

This commit is contained in:
2026-04-01 11:31:35 +02:00
parent 9bb7fcc300
commit 9319d42aca
3 changed files with 15 additions and 9 deletions

View File

@@ -46,11 +46,19 @@ jobs:
sed -i "s|__PROXY_URL__|${{ secrets.MATOMO_PROXY_URL }}|" static/config.php
sed -i "s|__TOKEN_AUTH__|${{ secrets.MATOMO_TOKEN_AUTH }}|" static/config.php
- name: Check for broken links
run: |
if [ "${{ gitea.ref }}" = "refs/heads/main" ]; then
mise linkcheck --offline || true
else
mise linkcheck --offline
fi
- name: Build website with Hugo
run: hugo
run: mise run build
- name: Copy website to host
uses: https://github.com/appleboy/scp-action@v1.0.0
uses: https://github.com/appleboy/scp-action@ff85246acaad7bdce478db94a363cd2bf7c90345 # v1.0.0
with:
host: mehl.mx
username: maxmehl