Shell
You're viewing a free preview. Sign in free to read every script.
Why this exists The riskiest moment in a release is the switch. Copying files over a running application leaves it half old and half new, and there is no way back. The release folder pattern avoids both: every version…
Deploy a Release with an Atomic Switch, Health Check and Automatic Rollback
A deployment script that unpacks each release into its own folder, switches a current symlink atomically, restarts the service, checks health, rolls back automatically if the check fails, and prunes old releases.
Sign in free to read this script, along with the rest of the library.
Sign in free