Catch new-post placeholders in make check
Build and deploy the poweronoff.click hugo / build (push) Successful in 1m24s
Build and deploy the poweronoff.click hugo / build (push) Successful in 1m24s
This commit is contained in:
1 parent
9a02ee8111
commit
9611f10266
1 file changed
+1
-1
@@ -31,7 +31,7 @@ check: build ## Build, then verify the generated site
|
||||
@test -f public/sitemap.xml
|
||||
@test -f public/robots.txt
|
||||
@test -f public/index.xml
|
||||
@! grep -rl "Lorem Ipsum\|dolor sit amet" public --include='*.html' \
|
||||
@! grep -rl "Lorem Ipsum\|dolor sit amet\|TODO: body\.\|TODO: intro paragraph" public --include='*.html' \
|
||||
|| { echo "FAIL: placeholder text found in public/"; exit 1; }
|
||||
@! grep -rl "localhost:1313" public --include='*.html' \
|
||||
|| { echo "FAIL: dev baseURL leaked into public/"; exit 1; }
|
||||
|
||||
Reference in new issue
Block a user