Use resource instead of deploy for deploying.