drone/drone — pull request #154 by fudanchii (2014-03-02 11:21:05+00:00)
Title: Implement `branch` option at deploy.

Enable deployment only on specific branch.
The branch checking is implemented inside the build shell-script by wrapping deployment
code inside a function and then match the value of `branch` option with `DRONE_BRANCH` before executing the function.

As always, any inputs is more than welcome.

Thanks!