lvivier / step-gh-pages

deploy github pages with wercker
37 stars 35 forks source link

Commiting into the wrong branch again #6

Open tusharmath opened 11 years ago

tusharmath commented 11 years ago

The following build - https://app.wercker.com/#deploy/522b11e27f24c4942e003cfe updated the code in my gh-pages branch. Why is that?

It worked earlier after #4 but now its failing again. For the time being I am passing the repo as a parameter and that is also working fine. If I don't pass the repo as a parameter it fails.

giovannicandido commented 8 years ago

@tusharmath Maybe the fix in code https://github.com/lvivier/step-gh-pages/commit/27c869f6034fe56e8afa160a78f14c35d6d12cd1 solve your issue?

What happens is when the basedir folder doen'st exist the plugin upload the entire code. The commit fix this failing the build when there is no base dir but it is specified as a parameter