version: 2.1 jobs: build-check: docker: - image: cibuilds/hugo:0.62 working_directory: ~/LoveIt steps: - checkout - run: git submodule sync - run: git submodule update --init - run: HUGO_ENV=production hugo --source=exampleSite -v --gc - run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external workflows: build-check-exampleSite: jobs: - build-check