Skip to content

Commit

Permalink
-CHG-Invoke npm install explicitely on Netlify builds, Netlify cachin…
Browse files Browse the repository at this point in the history
…g does not handle postCSS
  • Loading branch information
weeblr-dev committed May 16, 2019
1 parent 94678f5 commit ae2ad26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions netlify.toml
@@ -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"
2 changes: 1 addition & 1 deletion themes/clearstatustheme
Submodule clearstatustheme updated 2 files
+11 −0 CHANGELOG.md
+8 −2 README.md

0 comments on commit ae2ad26

Please sign in to comment.