Skip to content

Commit 8fb9d3a

Browse files
committed
ci: flatten markdown files for preview builds
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
1 parent aa10ed9 commit 8fb9d3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ HUGO_ENVIRONMENT = "preview"
1010
SECRETS_SCAN_OMIT_PATHS = "public/contribute/file-conventions/index.html"
1111

1212
[context.deploy-preview]
13-
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind@v1.3.0"
13+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && ./hack/flatten-markdown.sh && npx pagefind@v1.3.0"

0 commit comments

Comments
 (0)