1
0
mirror of https://github.com/videojs/video.js.git synced 2025-05-13 22:16:49 +02:00

Moved s3 config to environment variables

This commit is contained in:
heff 2015-02-17 17:04:42 -08:00
parent dd24d17372
commit 5bd0338d2e

View File

@ -6,12 +6,6 @@ module.exports = function(grunt) {
uglify = require('uglify-js');
exec = require('child_process').exec;
try {
s3 = grunt.file.readJSON('.s3config.json');
} catch(e) {
s3 = {};
}
verParts = pkg.version.split('.');
version = {
full: pkg.version,
@ -92,7 +86,12 @@ module.exports = function(grunt) {
}
},
s3: {
options: s3,
options: {
key: process.env.VJS_S3_KEY,
secret: process.env.VJS_S3_SECRET,
bucket: process.env.VJS_S3_BUCKET,
access: 'public-read'
},
minor: {
upload: [
{