Skip to content

Commit a3d0b69

Browse files
committed
Generate jsdoc before hugo on preview deployment
1 parent 17e4ac8 commit a3d0b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# All deploys generated from a pull/merge request will inherit these settings.
55
[context.deploy-preview]
6-
command = "hugo --minify -b $DEPLOY_PRIME_URL && npm run jsdoc"
6+
command = "npm run jsdoc && hugo --minify -b $DEPLOY_PRIME_URL"
77

88
[context.deploy-preview.environment]
99
HUGO_ENV = "preview"

0 commit comments

Comments
 (0)