> It gets people into the habit of running a single command to initiate deployments
npx firebase-tools deploy --only functions -P staging
is also one command
> It’s a more obvious source of truth for putting the deployment instructions
If that command were put into CI/CD, that would be an even more authoritative source of truth.
> Because it’s already an executable script, it makes it easier for us to automate some of the steps listed
The executable script can't be run by CI/CD and is another potential source of bugs/mistakes.
The real "fake it until you automate it" for deployment would've been ssh'ing into the server, running git pull, and restarting the server. That's no longer possible with serverless nowadays, but this seems to go from taking something that's relatively straightforward to something that's very complex.