Added to CI hugo build website validator
@@ -16,6 +16,21 @@ jobs:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4
+ validate-website-build:
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ submodules: true # Fetch Hugo themes (true OR recursive)
+ fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
+ - name: Setup Hugo
+ uses: peaceiris/actions-hugo@v2
+ with:
+ hugo-version: '0.91.2'
+ - name: Build
+ run: cd ./website && hugo
+
unit-tests:
runs-on: ubuntu-20.04
steps:
