Skip to main content
7 events
when toggle format what by license comment
Sep 8, 2022 at 23:50 vote accept confused_nomad
Sep 8, 2022 at 19:40 comment added Greg Burghardt @confused_nomad: it still executes as part of your version control workflow. This couples version control to deployment, and yes, it go against the steps I am recommending.
Sep 8, 2022 at 18:51 comment added confused_nomad I just realized something and don't know why I didn't mention it earlier, but the post-receive hook in the bare repo is a shell script. Does this still go against the steps you were recommending?
Sep 8, 2022 at 15:40 comment added Greg Burghardt @confused_nomad: deploying typically means moving the files to the servers, applying configuration changes, and perhaps even data updates. This could also include making a backup copy of files, if necessary. Basically all the steps it takes to put updated application code out on to the servers. As for why Git is not good for deployments? That is situational. You can "git pull" from the servers, but that assumes you only need app code changes. As soon as your deployments need more than that, Git becomes useless.
Sep 8, 2022 at 15:10 comment added confused_nomad Second question here for clarity. Due to being self-taught, I'm a bit fuzzy on what you mean by 'deploy the application.' Does this simply mean somehow pushing updates to your live code, or is there some other containment process here that I'm missing? (And I don't mean containers like Docker or anything like that)
Sep 8, 2022 at 15:09 comment added confused_nomad This is some great information, thank you. I do have a couple of follow up questions, that may sound a bit noobish. First, why is it not a good idea to deploy with git? I can see how my need to name things differently due to them being on the same server is an issue, but what if my local repo and production repos were on completely separate drives with no chance of naming conflicts? Would there still be issues?
Sep 8, 2022 at 14:44 history answered Greg Burghardt CC BY-SA 4.0