diff options
| -rw-r--r-- | index.js | 5 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -74,7 +74,12 @@ var app = okcms.createApp({ image: { allowed: true, preserveFilename: false, maxbytes: 2*1024*1024 }, video: { allowed: true, preserveFilename: true, maxbytes: 200*1024*1024 }, audio: { allowed: true, preserveFilename: true, maxbytes: 100*1024*1024 }, + }, + webhook: { + active: isProduction, + secret: process.env.WEBHOOK_SECRET, + command: '/home/okfocus/portfolio/build.sh', }, } diff --git a/package.json b/package.json index d404e09..1767c9c 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "dependencies": { "dotenv": "^2.0.0", "object-assign": "^2.0.0", - "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.32" + "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.33" }, "devDependencies": { "grunt": "^0.4.5", |
