hopefully fixes #1784 adding a condition to deploy if on a pull request