From: Eric Morris Date: Tue, 29 Oct 2013 21:49:18 +0000 (-0700) Subject: Add docs deployment X-Git-Tag: v1.0.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f01136cd14e94ad6719ebafeec2ca9aaa2293e6;p=thirdparty%2Ffoundation%2Ffoundation-emails.git Add docs deployment --- diff --git a/Gruntfile.js b/Gruntfile.js index 2547f29f..5d1592a2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -58,10 +58,10 @@ module.exports = function(grunt) { }, deployDocs: { command: [ - 'cd tmp', - 'zip all.zip *.html', - 'for i in *.html; do zip "${i%}.zip" "$i"; done', - 'cd ../' + 'cp -r docs build/docs', + 'cd build/docs', + 'rsync -r . ink@zurb.com:/var/www/ink/shared/docs', + 'cd ../../' ].join('&&') }, cleanUp: { @@ -79,5 +79,6 @@ module.exports = function(grunt) { grunt.registerTask('make:templates', ['includes', 'shell:zipTemplates']); grunt.registerTask('deploy:downloads', ['shell:makeStage', 'includes', 'shell:zipTemplates', 'shell:zipFramework', 'shell:linkFramework', 'shell:deployDownloads', 'shell:cleanUp']); + grunt.registerTask('deploy:docs', ['shell:makeStage', 'shell:deployDocs', 'shell:cleanUp']); // grunt.registerTask('default', ['includes']); }; \ No newline at end of file