From 1f4949ef7d6e9b7cd9a063eb1d2bc1fa04e085fe Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 20 Jul 2015 17:51:44 +0800 Subject: [PATCH] fix deploy --- scripts/deploy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.js b/scripts/deploy.js index c862bef970..848a3c5e56 100644 --- a/scripts/deploy.js +++ b/scripts/deploy.js @@ -1,4 +1,5 @@ var ghPages = require('gh-pages'); +var path = require('path'); ghPages.publish(path.join(process.cwd(), '_site'), { depth: 1, logger: function (message) {