jekyll-s3-yearofmoo 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
@@ -143,7 +143,7 @@ cloudfront_distribution_id: YOUR_CLOUDFRONT_DIST_ID (OPTIONAL)
|
|
143
143
|
# Please spec me!
|
144
144
|
def upload_to_s3!(campaign=nil)
|
145
145
|
if campaign
|
146
|
-
data = @config['campaigns'][
|
146
|
+
data = @config['campaigns'][campaign]
|
147
147
|
end
|
148
148
|
|
149
149
|
if data
|
@@ -151,7 +151,7 @@ cloudfront_distribution_id: YOUR_CLOUDFRONT_DIST_ID (OPTIONAL)
|
|
151
151
|
puts "Deploying Campaign = \"#{campaign}\" to #{@s3_bucket}"
|
152
152
|
else
|
153
153
|
remove_files = true
|
154
|
-
puts "Deploying
|
154
|
+
puts "Deploying All Files to #{@s3_bucket}"
|
155
155
|
end
|
156
156
|
|
157
157
|
AWS::S3::Base.establish_connection!(
|