Zero Downtime Laravel Forge Deploys

cp -R doesn't copy .dot directories and files such as .git .env;
mv is not an atomic operation;

I have created the gist to deploy multiple projects:

It works with symlinks and keeps 2 deployment backups, it’s real zero downtime (excluding database migrations).

Show your support

Clapping shows how much you appreciated ActionM’s story.