From d4002eb389c74d4e9ae7ace9d561dd9d0fce97b6 Mon Sep 17 00:00:00 2001 From: mrjones-plip Date: Fri, 20 Dec 2024 15:00:30 -0800 Subject: [PATCH] revert CI simplificaiton --- .github/workflows/cron-check-links.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cron-check-links.yml b/.github/workflows/cron-check-links.yml index 7b4feb495..db46314fe 100644 --- a/.github/workflows/cron-check-links.yml +++ b/.github/workflows/cron-check-links.yml @@ -18,7 +18,7 @@ name: Test site for broken links jobs: BuildLinkCheckPushLive: name: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 timeout-minutes: 15 steps: @@ -27,6 +27,18 @@ jobs: with: fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + - name: Install asdf & tools in .tool-versions + uses: asdf-vm/actions/install@v2 + + - name: Install npm modules for Hugo + run: npm install + + # run in background so CI doesn't hang waiting for "ctrl + c". Sleep ensures server is ready in next step + - name: Serve Hugo site + run: | + hugo server& + sleep 30 + - name: Run Muffet link checker shell: bash run: |