From 3f601555d20d3a7d21253495c3964d62668a2a7e Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Fri, 9 Oct 2015 10:32:29 +0800 Subject: [PATCH] feat(grunt): pass project name when deploy --- Gruntfile.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 17b143e2f..4b30ef4e0 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -296,7 +296,7 @@ module.exports = (grunt) -> serve: options: - config: "_config.yml,_amsf/_config.yml,<%= config.app %>/_data/<%= amsf.theme.current %>.yml,_config.dev.yml,_config.user.yml" + config: "_config.yml,_amsf/_config.yml,<%= config.app %>/_data/<%= amsf.theme.current %>.yml,_config.user.yml,_config.dev.yml" drafts: true future: true @@ -319,7 +319,7 @@ module.exports = (grunt) -> # Auto commit untracked files sync'ed from sync_local sync_commit: - command: "sh <%= config.deploy.s3_website.dest %>/auto-commit" + command: "sh <%= config.deploy.s3_website.dest %>/auto-commit '<%= config.pkg.name %>'" amsf__core__update_deps: command: [