Best practices for deploying code onto production server.
Historically, I have done Powershell code development directly on the server I'm running the scripts on and "live fire" tested them in production. Changes are GIT committed locally and then pushed to an Azure DevOps server in a repo I have set up solely for my Powershell scripts.
I'd like to get away from that because we're introducing Claude CLI so I would need to develop on my local machine instead.
Would a simple GIT push to the repo and then pull on the server suffice? Is there a better way?