From 5895ac6d301075d2eee77c5e1548ab9c77796c07 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Sun, 3 Apr 2016 19:39:58 -0700 Subject: [PATCH] Update staging deployment scripts --- Gruntfile.coffee | 2 ++ scripts/deploy | 1 + 2 files changed, 3 insertions(+) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 1365fec7c..83292fc3d 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -159,6 +159,8 @@ module.exports = (grunt)-> grunt.registerTask 'deploy:prod', ['build', 'uglify', 'compress', 'copy:assets_dist', 'script:deploy:prod'] + grunt.registerTask 'deploy:staging', ['build', 'uglify', 'compress', 'copy:assets_dist', 'script:deploy:staging'] + grunt.registerTask 'prepublish', ['clean', 'coffee'] grunt.registerTask 'start', ['build', 'script:start'] diff --git a/scripts/deploy b/scripts/deploy index 0bf97cea0..119806aa7 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -12,6 +12,7 @@ while [[ "$1" != "" ]]; do "--prod") ENVIRONMENT="prod";; *) die "Please specify environment: --staging or --prod";; esac + shift done git push \