diff options
author | Manolo Carrasco <manolo@apache.org> | 2015-10-19 23:03:56 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2015-10-19 23:40:34 +0200 |
commit | d9ade9feccd1363316574a900a0e065f49001b6d (patch) | |
tree | 6b041ea843e17578f0f042485a877a740ebbc02c /tasks/cdn.js | |
parent | 1ae78d3679300ee196698b6c7a430c1ece4aea00 (diff) | |
download | vaadin-core-d9ade9feccd1363316574a900a0e065f49001b6d.tar.gz vaadin-core-d9ade9feccd1363316574a900a0e065f49001b6d.zip |
Fix zip deployment
Diffstat (limited to 'tasks/cdn.js')
-rw-r--r-- | tasks/cdn.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index 80771c8..9ff994a 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -69,17 +69,7 @@ gulp.task('deploy:cdn', ['upload:cdn'], function(done) { if (permalink) { var cmd = 'rm -f ' + args.cdnDestination + permalink + '; ln -s ' + version + ' ' + args.cdnDestination + permalink + '; ls -l ' + args.cdnDestination; gutil.log('Deploying CDN : ssh ' + args.cdnUsername + '@' + host + ' ' + cmd); - require('node-ssh-exec')({ - host: host, - username: args.cdnUsername, - privateKey: config.paths.privateKey() - }, cmd, function (error, response) { - if (error) { - throw error; - } - gutil.log(response); - done(); - }); + common.ssh(args.cdnUsername, host, cmd, done); } else { done(); } |