adding logic to not deploy code for pull requests [ci skip]