[ci] fix USE_DEPLOY condition
This was wrong...we should only build with deploy in the deploy-specific
build config.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79212
Approved by: https://github.com/kit1980, https://github.com/malfet, https://github.com/seemethere