Skip to content

Commit

Permalink
S3Sync must be the last action in the manipulator chain
Browse files Browse the repository at this point in the history
I had issues where certain manipulators, e.g. I18n, were not being processed in the S3 sync. To remedy this, we must instruct S3 to be the last item in the chain
  • Loading branch information
johnnyshields committed Oct 25, 2015
1 parent deb54f9 commit cccb12f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/middleman-s3_sync/extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class S3SyncExtension < ::Middleman::Extension
option :verbose, false, 'Whether to provide more verbose output'
option :dry_run, false, 'Whether to perform a dry-run'

# S3Sync must be the last action in the manipulator chain
self.resource_list_manipulator_priority = 9999

def initialize(app, options_hash = {}, &block)
super
end
Expand Down

0 comments on commit cccb12f

Please sign in to comment.