now completeley hiding git console output
This commit is contained in:
@ -30,16 +30,14 @@ var publishDocs = function(configArg){
|
||||
|
||||
var deployScript = ""
|
||||
+ "cd " + paths.docsDir + " "
|
||||
+ "&& git init "
|
||||
+ "&& git config user.name \"TRAVIS CI\" "
|
||||
+ "&& git config user.email \"travis@shipzone.io\" "
|
||||
+ "&& git add . "
|
||||
+ "&& git commit -m \"Deploy to GitHub Pages\" "
|
||||
+ "&& git init " + "> /dev/null 2>&1 "
|
||||
+ "&& git config user.name \"TRAVIS CI\" " + "> /dev/null 2>&1 "
|
||||
+ "&& git config user.email \"travis@shipzone.io\" " + "> /dev/null 2>&1 "
|
||||
+ "&& git add . " + "> /dev/null 2>&1 "
|
||||
+ "&& git commit -m \"Deploy to GitHub Pages\" " + "> /dev/null 2>&1 "
|
||||
+ "&& git push --force --quiet "
|
||||
+ "\"" + gitUrl + "\" "
|
||||
+ "master:gh-pages "
|
||||
+ "> /dev/null 2>&1";
|
||||
console.log(deployScript);
|
||||
+ "master:gh-pages " + "> /dev/null 2>&1";
|
||||
|
||||
if(plugins.smartenv.getEnv().isTravis){
|
||||
plugins.beautylog.log("now publishing docs to GitHub")
|
||||
|
Reference in New Issue
Block a user