lib/dpl/provider/pages.rb in dpl-pages-1.10.4.travis.3032.6 vs lib/dpl/provider/pages.rb in dpl-pages-1.10.4.travis.3040.6

- old
+ new

@@ -25,10 +25,10 @@ require 'tmpdir' def initialize(context, options) super - @build_dir = File.join(src_dir, options[:local_dir] || '.') + @build_dir = File.absolute_path(options[:local_dir] || '.', src_dir) print_step "The target dir for deployment is '#{@build_dir}'." @project_name = options[:project_name] || fqdn || slug @target_branch = options[:target_branch] || 'gh-pages'