build: always execute 'npm install'

- https://stackoverflow.com/a/50820392
This commit is contained in:
curben 2019-10-09 20:24:14 +01:00
parent 3e2d9fed61
commit 30fe50290c
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
[context.production]
publish = "public"
command = "npm install --only=prod -g npm && npm install --only=prod snyk && npm run snyk && npm run hexo"
command = "npm install --only=prod -g npm && npm install --only=prod && npm install --only=prod snyk && npm run snyk && npm run hexo"