Skip to content

Commit d032f99

Browse files
committed
fix script in ci
Signed-off-by: Junya Okabe <[email protected]>
1 parent 6058ba5 commit d032f99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"_check:links": "npm run __check:links",
99
"_check:links:all": "HTMLTEST_ARGS='--log-level 1' npm run __check:links",
1010
"_hugo": "hugo --cleanDestinationDir",
11-
"_prebuild": "hugo mod get",
12-
"build": "npm run _build",
11+
"_prebuild": "hugo mod clean --all && hugo mod get github.com/google/[email protected] github.com/google/docsy/[email protected]",
12+
"build": "npm run _prebuild && npm run _build",
1313
"check:links": "npm run _check:links",
1414
"precheck:links": "npm run build",
15-
"prepare": "hugo mod get",
15+
"prepare": "hugo mod clean --all && hugo mod get github.com/google/[email protected] github.com/google/docsy/[email protected]",
1616
"seq": "bash -c 'for cmd in \"$@\"; do npm run $cmd || exit 1; done' - ",
1717
"serve": "netlify dev -c \"hugo serve --minify -DFE -w\"",
1818
"serve:with-pagefind": "hugo --baseURL=/ && npm_config_yes=true npx pagefind --site 'public' --output-subdir '../static/pagefind' && npm run serve",

0 commit comments

Comments
 (0)