Add spellcheck job and fix spelling #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check | |
on: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: gevhaz/word-warden@main | |
with: | |
word_warden_ref: main | |
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 |