Deploy path doesn't work for Git Deploy Method in middleman-deploy : <p>I am using <a href="https://github.com/middleman/middleman-blog" rel="noreferrer">middleman-blog</a> and <a href="https://github.com/middleman-contrib/middleman-deploy" rel="noreferrer">middleman-deploy</a>.</p>

<p>What I would like to do, is within the branch I am deploying to, I want the static files to be deployed to a subfolder within the repo (i.e. not the root folder).</p>

<p>I tried doing this in my <code>config.rb</code>:</p>

<pre><code>activate :deploy do |deploy|
  deploy.build_before = true
  deploy.deploy_method = :git
  deploy.branch = 'gh-pages-2'
  deploy.remote = 'github'
  deploy.path = 'blog'
end
</code></pre>

<p>But that doesn't work, it still deploys to the root directory. In fact, it doesn't even create the <code>/blog</code> folder I am looking for.</p>

<p>When I visit the config settings locally, these are the settings I see under <code>:deploy</code>:</p>

<pre><code>:deploy
   :branch = "gh-pages"
   :build_before = true
   :clean = false
   :commit_message = nil
   :deploy_method = :git
   :flags = nil
   :host = nil
   :password = nil
   :path = "blog"
   :port = 22
   :remote = "github"
   :strategy = :force_push
   :user = nil
</code></pre>

<p>This indicates to me that the path attribute is being set correctly.</p>

<p>I also tried doing <code>deploy.path = '/blog'</code> and that still doesn't work.</p>

<p>So how can I get this to deploy to <code>\blog\</code> subfolder within my repo rather than the root directory?</p>

<p>The versions of the different gems are as follows:</p>

<pre><code>middleman (4.1.10)
middleman-blog (4.0.1)
middleman-cli (4.1.10)
middleman-deploy (2.0.0.pre.alpha)
</code></pre>

<p><strong>Note:</strong> I am purposely using <code>gh-pages-2</code> because I don't want to overwrite my current <code>gh-pages</code> without being certain that it will deploy to the correct subfolder.</p>
