Created
August 10, 2019 16:17
-
-
Save abahgat/912e04bed5f273cde8cacc0367b2de05 to your computer and use it in GitHub Desktop.
Basic CircleCI config for building a site with Hugo, running html-proofer and testing the results.
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
version: 2.1 | |
orbs: | |
hugo: circleci/[email protected] | |
jobs: | |
snapshot: | |
docker: | |
- image: buildkite/puppeteer:v1.15.0 | |
steps: | |
- attach_workspace: | |
at: . | |
- run: npm install percy | |
- run: PERCY_TOKEN=$PERCY_TOKEN npx percy snapshot ./public | |
workflows: | |
main: | |
jobs: | |
- hugo/build: | |
version: "0.55.6" | |
html-proofer: true | |
- snapshot: | |
requires: | |
- hugo/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment