actually putting deployment in else branch
fixed error in if
Merge pull request #114 from HPI-Information-Systems/stabilise_build

only deploying on master and oraclejdk7