diff --git a/scripts/local-server.sh b/scripts/local-server.sh index 8d1c7feb30..f48de14b4e 100644 --- a/scripts/local-server.sh +++ b/scripts/local-server.sh @@ -8,7 +8,7 @@ set -eou pipefail # Run 'netlify dev' ### +npm install npm ls -npm install hugo server -b localhost:1313 diff --git a/scripts/netlify-branch-deploy.sh b/scripts/netlify-branch-deploy.sh index 4c078bce20..ae90c626f3 100644 --- a/scripts/netlify-branch-deploy.sh +++ b/scripts/netlify-branch-deploy.sh @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=/opt/build/repo/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo diff --git a/scripts/netlify-deploy-preview.sh b/scripts/netlify-deploy-preview.sh index 9d96ba4a5b..9a62a61db3 100644 --- a/scripts/netlify-deploy-preview.sh +++ b/scripts/netlify-deploy-preview.sh @@ -22,7 +22,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=$(pwd)/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo --buildFuture diff --git a/scripts/netlify-deploy-production.sh b/scripts/netlify-deploy-production.sh index 95636f4a64..cb6accfc42 100644 --- a/scripts/netlify-deploy-production.sh +++ b/scripts/netlify-deploy-production.sh @@ -20,7 +20,7 @@ tar -xf dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz rm dart-sass-$DART_SASS_VERSION-linux-x64.tar.gz export PATH=/opt/build/repo/dart-sass:$PATH +npm install npm ls -npm install hugo --gc --minify --enableGitInfo --ignoreCache