Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Update with prod bucket/keys
Browse files Browse the repository at this point in the history
  • Loading branch information
adgad committed Mar 31, 2015
1 parent ca3f35e commit f05715c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/deploy-hashed-assets-s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ var basename = require('path').basename;
var aws = require('aws-sdk');

aws.config.update({
accessKeyId: process.env.aws_access,
secretAccessKey: process.env.aws_secret,
accessKeyId: process.env.aws_access_hashed_assets,
secretAccessKey: process.env.aws_secret_hashed_assets,
region: 'eu-west-1'
});

function hashAndUpload(opts) {

var file = opts.file;
var app = opts.app;
var bucket = 'ft-next-hashed-assets';
var bucket = 'ft-next-hashed-assets-prod';
var key = app + '/' + file.hashedName;

return new Promise(function(resolve, reject) {
Expand Down

0 comments on commit f05715c

Please sign in to comment.