I am a former Army Infantry Officer and agree with a lot of the points made in your previous answers. I strongly echo the sentiment that it is very unrealistic to expect not to deploy, regardless of what branch you join. Honestly, if you don't want to deploy, I'd recommend choosing a different path than the military. Whether you are in the Army, Air Force, or Navy, deployments are at the core of what you do. If you aren't prepared to go overseas then I don't think the military is the right place for you. There are plenty of places to get experience in the two areas you mentioned and, if you want to serve, you might want to investigate the Coast Guard. I linked their careers page below.
I hope this helps - good luck in whatever path you ultimately choose to pursue. Don't hesitate to reach out if you have more questions about this topic.
Jacob recommends the following next steps: