-
-
Save famanson/0b90b94f74b38846699c to your computer and use it in GitHub Desktop.
Example Ember deploy.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// deploy.js | |
/* jshint node: true */ | |
var API_KEYS = require('./api-keys.json'); | |
module.exports = { | |
staging: { | |
buildEnv: 'staging', | |
store: { | |
type: 'redis', // the default store is 'redis' | |
host: 'staging', | |
port: 6379 | |
}, | |
assets: { | |
accessKeyId: API_KEYS['s3']['accessKeyId'], | |
secretAccessKey: API_KEYS['s3']['secretAccessKey'], | |
bucket: 'staging-assets', // S3 staging assets | |
exclude: ['.DS_Store', '*-test.js'], // defaults to empty array | |
region: 'eu-west-1' | |
} | |
}, | |
production: { | |
store: { | |
type: 'redis', | |
host: 'production', | |
port: 6379 | |
}, | |
assets: { | |
accessKeyId: API_KEYS['s3']['accessKeyId'], | |
secretAccessKey: API_KEYS['s3']['secretAccessKey'], | |
bucket: 'assets', | |
exclude: ['.DS_Store', '*-test.js'], // defaults to empty array | |
region: 'eu-west-1' | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment