Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 888 Bytes

File metadata and controls

22 lines (11 loc) · 888 Bytes

Atomic Web Deploy

This script can be used for automated atomic deployment of web applications. Although Makefile is tailored for Laravel, feel free to change according your needs.

Prerequisites

  • Web server points to /var/www/{app name}/current (/current/public in case of Laravel)

  • Git repository available through ssh / no password pull on /var/www/{app name}/deploy-cache

Recommendations

  • Don't use file-based storage, it will be removed unless handled correctly in Makefile

  • If you will use file-based sessions, they will be removed as well

Usage