Update staging deployment scripts
This commit is contained in:
@@ -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']
|
||||
|
||||
@@ -12,6 +12,7 @@ while [[ "$1" != "" ]]; do
|
||||
"--prod") ENVIRONMENT="prod";;
|
||||
*) die "Please specify environment: --staging or --prod";;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
git push \
|
||||
|
||||
Reference in New Issue
Block a user