Skip to content

Commit

Permalink
Remove aws s3 sync from build script.
Browse files Browse the repository at this point in the history
* Having the aws s3 command on Snap's config for gh-pages.
  • Loading branch information
varshavaradarajan committed Dec 30, 2016
1 parent 30886ce commit 2a40ff8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Rakefile
@@ -1,13 +1,6 @@
require 'middleman-gh-pages'
require 'rake/clean'
require_relative "lib/version"

CLOBBER.include('build')

task :default => [:build]

task :publish do
sh("aws s3 sync 'build' s3://#{ENV['S3_BUCKET']} --dryrun --cache-control 'max-age=600' --acl public-read")
end

Rake::Task[:publish].prerequisites.unshift "clobber"

0 comments on commit 2a40ff8

Please sign in to comment.