From d175ef701e19825b0842c712d24c7a6a9246e65a Mon Sep 17 00:00:00 2001 From: plouc Date: Sun, 26 Dec 2021 12:36:36 +0900 Subject: [PATCH] feat(website): run init before building for netlify --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecf5fb2899..78dede83a0 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,10 @@ deploy-all: ##@0 global deploy website & storybook @$(MAKE) website-deploy @$(MAKE) storybook-deploy -netlify-build: website-build storybook-build ##@0 Build the website and storybook to netlify +netlify-build: ##@0 Build the website and storybook to netlify + @$(MAKE) init + @$(MAKE) website-build + @$(MAKE) website-build @cp -a storybook-static website/public/storybook clean-all: ##@0 global uninstall node modules, remove transpiled code & lock files