Skip to content

Add spellcheck job and fix spelling #30

Add spellcheck job and fix spelling

Add spellcheck job and fix spelling #30

Workflow file for this run

---
name: Check
on:
pull_request:
branches: ["master"]
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: gevhaz/word-warden@19ecfa1576f02d4f73125213c4a1712f5ab47c23
with:
word_warden_ref: 19ecfa1576f02d4f73125213c4a1712f5ab47c23
preprocessing_script: .github/scripts/remove-front-matter.sed
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.102.3
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
set -x
pwd
ls
hugo \
--minify \
--baseURL grotius.example.com \
--theme hugo-theme-notrack/ \
--themesDir ../../ \
--printUnusedTemplates \
working-directory: ./exampleSite