Why deployment is the most important part of your project
Published on 2026-09-12 by frfrand
Code that isn't in production doesn't exist. Why a difficult deployment deforms everything else, what it means to be boring, and how to get there.

Short answer: deployment is what turns code into product. If publishing is difficult, it happens less often, each delivery accumulates more changes, and errors cost more to find. A good deployment is automatic, repeatable, observable, and reversible, and the most delicate part is not the code but the database.
There is an uncomfortable and quite true phrase: code that is not in production does not exist. It doesn't matter how well written it is, it doesn't matter that it passes all tests. Until someone uses it, it is an intention.
That is why the mechanism that takes your code from your machine to the user deserves more attention than it usually receives.
The vicious circle
The interesting thing about a difficult deployment is that it not only makes you lose time: it deforms how the team works.
If publishing is costly, it is done less frequently. If it is done less frequently, each delivery accumulates more changes. If each delivery has twenty changes and something breaks, finding which one took much longer. And since the last delivery was traumatic, the next one is postponed.
It is a circle that feeds back on itself, and it is almost always misdiagnosed: blame is placed on the code, the lack of tests, or the team, when the problem was the friction of publishing.
The corollary is counterintuitive: publishing more frequently is usually safer, not less. A deployment of three changes is easy to revert and quick to diagnose.
What it means to be boring
A good deployment has four properties, and none of them have to do with speed:
Automatic. Nobody executes steps manually. Manual steps are forgotten, especially on Friday at seven.
Repeatable. The same commit produces the same result. If the deployment depends on what was installed on the server that day, it is not repeatable.
Observable. When it fails, the log says at which step. A deployment that fails silently is worse than one that does not exist.
Reversible. You have to be able to go back to the previous version in minutes, without thinking. And that is tested before you need it.
The three steps that are always there
Underneath any tool, a web deployment does the same thing:
- Bring the new code to the server.
- Build: install dependencies, compile, apply migrations.
- Restart the service so it takes the new version.
When something fails, it fails in one of those three steps. Knowing this shortens the diagnosis a lot. And almost always it is the third one, the restart: the service did not start, or it started with the old configuration.
The restart gap
Between when the old process shuts down and the new one responds, there are a few seconds when nobody attends. The user sees a 502 error.
The way to avoid it is to invert the order: start the new version, wait for it to respond, send it traffic, and only then shut down the old one. That is what a health endpoint is for, one that says "I am really ready", and not just "the process exists".
The hardest part is not the code
Going back in the code is easy: revert the commit and deploy.
The database is another matter. A migration that deleted a column isn't undone with a redeploy.
That's why the order is convenient: first add what's new, then have the code use it, and delete the old stuff only several days later, when you're sure. That way there's always a previous version of the code that still works against the current database.
Where to get to
The goal isn't to have the fastest deployment. It's that no one hesitates before publishing.
When publishing is boring, the team delivers in small pieces, errors find themselves, and time goes into the product and not into the ceremony.
At ArduMaker that path is configured once from the panel: repository, branch, installation and build commands, processes, and domain. Each push runs the phases in order (fetch the code, install, build, migrate if the migration is confirmed, restart the processes, and verify that the app responds), and the history keeps each phase with its time and output, so when something breaks you see in which one. Going back to the commit of a previous deploy that finished successfully is a panel action; as in any rollback, the database is not touched.
Three checks after every deploy
When deploying from Git on an ArduMaker VPS, save the associated commit, verify that the build or installation completed without errors, and confirm that the service responds from outside the server. If there are database migrations, verify that they are compatible with the published version.
A successful deployment in the panel does not replace a functional test. Run at least one real request and check logs; this way you detect port, variable, or service errors that may have appeared after the build finished.
Related: What is GitHub Actions · What a commit means.
Frequently asked questions
Isn't publishing frequently riskier? Usually it's the opposite: a deployment with three changes is easy to diagnose and roll back; one with twenty, isn't.
What is a health endpoint? A route, for example /health, that responds correctly only when the application is truly ready to serve. It is used to decide when to send traffic to the new version.
Does a redeploy undo a migration? No. Reverting to the previous commit restores the code, not the database. That's why it's best to add the new stuff first and delete the old stuff only when it's no longer necessary to go back.