Hi
I’m currently in the process of migrating various websites from another static website generator to Hugo.
While making adjustments in my CI workflow (GitHub Actions) and reading the Hugo docs, I found the command hugo check that states it does “various verification checks” however it doesn’t mention what it does exactly.
What I want to do is check if my website is properly configured (and lint my assets) properly before deploying.
I currently run the following to know if there are issues with my websites, but I wonder if hugo check
does the same before generating the final HTML files.
hugo --cleanDestinationDir --i18n-warnings --path-warnings --verbose
I’ve tried looking in the source code, however I’m new to Hugo and Go, and the cobra library seems to be only a library to parse command line arguments.