Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: ruby
sudo: false
cache: bundler
rvm:
- 2.1
branches:
Expand Down
3 changes: 0 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ task :invalidate_cloudfront do
public_files.delete_if{|f| File.directory?(f) }
public_files.each{|f| cleaned_files.push '/' + f}

puts "\n\ntravis branch " + ENV["TRAVIS_BRANCH"]

if ENV["TRAVIS_BRANCH"] == "master"
cf_distro_id = ENV["PROD_CLOUDFRONT_DISTRO"]
else
Expand All @@ -125,7 +123,6 @@ task :invalidate_cloudfront do
invalidator = SimpleCloudfrontInvalidator::CloudfrontClient.new(ENV["PROD_ACCESS_KEY"], ENV["PROD_SECRET_KEY"], cf_distro_id)

puts invalidator.invalidate(public_files)
puts "Invalidated CloudFront"
end

desc "index the generated files"
Expand Down