The deploy-hook container was killing itself before write_status ran, leaving last_deploy=null on every successful deploy. Move health check and write_status before the detached nohup restart of the deploy-hook container so status is persisted even when the container recreates itself. Co-Authored-By: Paperclip <[email protected]>