Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 379 Bytes
#!/bin/bash
# Clone the _site repo so that changes are tracked when the build is pushed back
git clone --quiet "https://${git_token}@${git_target}" > /dev/null 2>&1
# Build site
jekyll build
# Check for HTML errors
# (iopscience.iop.org fails for an unknown reason so it is ignored)
# TODO: add image alts
htmlproofer ./_site --url-ignore '/.*iopscience.iop.org|microblog.*/'