We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f639974 commit 9a7f11fCopy full SHA for 9a7f11f
.github/workflows/cron-check-int-links.yml
@@ -37,13 +37,14 @@ jobs:
37
- name: Install broken-link-checker
38
run: npm install broken-link-checker
39
40
- - name: Start Hugo server
+ - name: Build Hugo site
41
+ run: hugo
42
+
43
+ - name: Start local server
44
run: |
- hugo server --quiet --port 1313 >/dev/null 2>&1 &
- until curl -fs http://localhost:1313/ >/dev/null 2>&1; do
- sleep 0.2
45
- done
46
- echo "✅ Hugo preview server is ready at http://localhost:1313"
+ python3 -m http.server 1313 --directory public >/dev/null 2>&1 &
+ until curl -fs http://localhost:1313 >/dev/null 2>&1; do sleep 0.2; done
47
+ echo "✅ Python preview server is ready at http://localhost:1313"
48
49
- name: Check internal links
50
id: linkcheck
0 commit comments