- A professional-grade Bash script to automate Nginx website deployments from Git repositories. Perfect for quick staging/production deployments.
- π One-click website deployment/redeployment
- π§Ή Automatic cleanup of previous installations
- π Proper permission management
- π‘οΈ Error handling and rollback capabilities
- π¦ Dependency auto-installation (Nginx, Git)
- π₯οΈ Supports both HTTP and HTTPS Git URLs
- git clone https://github.com/sethysatyajit/Nginx-Website-Deployer.git
- cd Nginx-Website-Deployer
- chmod +x deploy_website.sh
- sudo ./deploy_website.sh
1οΈβ£ Clone this repository
- git clone https://github.com/sethysatyajit/Nginx-Website-Deployer.git
- cd Nginx-Website-Deployer
2οΈβ£ Make the script executable
- chmod +x deploy_website.sh
3οΈβ£ Run the deployment script
- sudo ./deploy_website.sh
π Redeployment Commands
- Just run the script again with new URL when prompted
- sudo ./deploy_website.sh
- Happy Tech Journey π