Blog
Updates, guides, and insights from the Wemazu team.
The staging branch that lied to me
Staging looked green for three weeks. Production was not. The environment variable had diverged after a copy-paste, and nobody noticed.
Atomic symlink deploys, step by step
A releases/ directory, a current symlink, and shared/ for things that survive across releases. The only tricky part is permissions on the shared uploads folder.
Rolling back is not rolling forward
If your rollback plan is 'deploy the previous commit', you don't have a rollback plan. You have a second deployment that can also fail.
Zero-downtime deploys without Kubernetes
A symlink swap and a 500ms nginx reload handle zero-downtime for small teams. The Kubernetes tutorial is for a different problem.
Why does my deploy take 4 minutes?
A slow deploy is almost always three fast steps stuck waiting on one quiet one. Here's how I found the quiet one in my own pipeline.
Your deploy script is a liability
The bespoke deploy.sh sitting in your repo is the largest undocumented dependency the project has. Rewriting it once a year is cheaper than debugging it once.