Skip to content
Permalink
Browse files

-CHG-Invoke npm install explicitely on Netlify builds, Netlify cachin…

…g does not handle postCSS
  • Loading branch information...
weeblr-dev committed May 16, 2019
1 parent 94678f5 commit ae2ad262dd53761bb4ce0a9fddb9682052134095
Showing with 7 additions and 7 deletions.
  1. +6 −6 netlify.toml
  2. +1 −1 themes/clearstatustheme
@@ -1,13 +1,13 @@
[build]
command = "git submodule foreach git pull origin master && hugo --minify"
publish = "public"
command = "git submodule foreach git pull origin master && npm install && hugo --minify"
publish = "public"

[context.production.environment]
HUGO_ENV = "production"
NODE_ENV = "production"
HUGO_ENV = "production"
NODE_ENV = "production"

[context.deploy-preview]
command = "git submodule foreach git pull origin master && hugo -b $DEPLOY_PRIME_URL"
command = "git submodule foreach git pull origin master && npm install && hugo -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "git submodule foreach git pull origin master && hugo -b $DEPLOY_PRIME_URL"
command = "git submodule foreach git pull origin master && npm install && hugo -b $DEPLOY_PRIME_URL"
Submodule clearstatustheme updated 2 files
+11 −0 CHANGELOG.md
+8 −2 README.md

0 comments on commit ae2ad26

Please sign in to comment.
You can’t perform that action at this time.