File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def initialize(options)
2020 @distro_id = options [ :distribution_id ] || ENV [ 'AWS_DISTRIBUTION_ID' ]
2121 @remote_path = ( options [ :remote_path ] || '/' ) . sub ( /^\/ / , '' )
2222 @verbose = options [ :verbose ]
23- @incremental = options [ :incremental ]
23+ @incremental = options [ :incremental ] || true
2424 @delete = options [ :delete ]
2525 @headers = options [ :headers ] || [ ]
2626 @remote_path = @remote_path . sub ( /^\/ / , '' ) # remove leading slash
@@ -270,7 +270,7 @@ def self.default_config(options={})
270270#{ "remote_path: #{ options [ :remote_path ] || '/' } " . ljust ( 40 ) } # relative path on bucket where files should be copied.
271271#{ "region: #{ options [ :remote_path ] || 'us-east-1' } " . ljust ( 40 ) } # Region where your bucket is located.
272272#{ "verbose: #{ options [ :verbose ] || 'false' } " . ljust ( 40 ) } # Print out all file operations.
273- #{ "incremental: #{ options [ :incremental ] || 'false ' } " . ljust ( 40 ) } # Only upload new/changed files
273+ #{ "incremental: #{ options [ :incremental ] || 'true ' } " . ljust ( 40 ) } # Only upload new/changed files
274274#{ "delete: #{ options [ :delete ] || 'false' } " . ljust ( 40 ) } # Remove files from destination which do not match source files.
275275#{ "parallel: #{ options [ :parallel ] || 'true' } " . ljust ( 40 ) } # Speed up deployment by uploading files in parallel.
276276CONFIG
You can’t perform that action at this time.
0 commit comments