Move snyk commands to production

This commit is contained in:
curben 2018-09-30 17:36:24 +09:30
parent 2fa83af556
commit 2f76100d24
1 changed files with 2 additions and 5 deletions

View File

@ -1,9 +1,6 @@
[build]
command = "snyk auth $SNYK_TOKEN && snyk protect && snyk test"
[context.production] [context.production]
publish = "public/" publish = "public"
command = "hexo generate" command = "snyk auth $SNYK_TOKEN && snyk protect && snyk test && hexo generate"
[[headers]] [[headers]]
for = "/*" for = "/*"