Skip to content

Commit 6058ba5

Browse files
committed
fix: CI error
Signed-off-by: Junya Okabe <[email protected]>
1 parent b310e0d commit 6058ba5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,16 @@ serve:
3535
--gc
3636

3737
production-build:
38-
npx hugo mod clean
39-
npx hugo mod tidy
38+
npx hugo mod clean --all
39+
npx hugo mod get github.com/google/[email protected] github.com/google/docsy/[email protected]
4040
npx hugo --minify
4141
npx -y pagefind --site public
4242

4343
preview-build:
44-
npx hugo mod clean
45-
npx hugo mod tidy
46-
npx hugo \
44+
npx hugo mod clean --all
45+
npx hugo mod get github.com/google/[email protected] github.com/google/docsy/[email protected]
46+
npx hugo --minify \
4747
--baseURL $(DEPLOY_PRIME_URL) \
4848
--buildDrafts \
49-
--buildFuture \
50-
--minify
49+
--buildFuture
5150
npx -y pagefind --site public

0 commit comments

Comments
 (0)