#!/bin/bash # HostPioneers Deployment Script # Run this from your LOCAL machine to push to GitHub echo "HostPioneers - Deploy to GitHub" echo "==================================" # Navigate to the repo (change this path to where you cloned it) # cd /path/to/hostpioneers # Or if you want to download fresh: echo "Options:" echo "1. Push existing repo" echo "2. Create fresh clone from server" echo "3. Download as ZIP" read -p "Choose option: " opt case $opt in 1) echo "Pushing to GitHub..." git push -u origin main ;; 2) echo "Cloning to your machine..." git clone https://github.com/HaithamEKhalifa/hostpioneers.git cd hostpioneers echo "Done! Repo cloned." ;; 3) echo "Creating ZIP..." tar -czvf hostpioneers.tar.gz . echo "ZIP created: hostpioneers.tar.gz" ;; esac