Skip to content

Instantly share code, notes, and snippets.

@steveburkett
Created October 23, 2014 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveburkett/de77bdcd0586d6753638 to your computer and use it in GitHub Desktop.
Save steveburkett/de77bdcd0586d6753638 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
grunt.initConfig({
environment: {
default: 'development',
environments: ['development', 'production']
},
config: {
development: {
deploy: grunt.file.readYAML("deployment.development.yml"),
bucket: 'ember-dev-build-dsh'
},
production: {
deploy: grunt.file.readYAML("deployment.yml"),
bucket: 'ember-build-dsh'
}
},
autobots: {
distDir: 'dist',
s3: {
accessKeyId: '<%=config.deploy.s3_access_key_id%>',
secretAccessKey: '<%=config.deploy.s3_secret_access_key%>',
bucket: '<%=config.bucket%>'
},
redis: {
host: '<%=config.deploy.redis_host%>',
port: '<%=config.deploy.redis_port%>',
password: '<%=config.deploy.redis_password%>'
}
}
});
grunt.loadNpmTasks('grunt-environment');
grunt.loadNpmTasks('grunt-autobots');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment