From 568565b9ea8055d5d663e60a858f40c3f357ea9b Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 19 Dec 2024 11:36:15 -0600 Subject: [PATCH] wait for server before starting link checker --- .github/workflows/link-checker.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/link-checker.yaml b/.github/workflows/link-checker.yaml index 8a469d7..f13be39 100644 --- a/.github/workflows/link-checker.yaml +++ b/.github/workflows/link-checker.yaml @@ -35,7 +35,9 @@ jobs: pip install linkchecker - name: Start server - run: nohup hugo server --baseURL http://localhost:1313 --bind 0.0.0.0 --disableFastRender > hugo_server.log 2>&1 & + run: | + nohup hugo server --baseURL http://localhost:1313 --bind 0.0.0.0 --disableFastRender > hugo_server.log 2>&1 & + sleep 1 - name: Check links run: |