Web Hosting - LAMP (Linux, Apache, PHP, MySQL) - GIT Deploy
To set up GIT Deploy on your site:
No complex shell scripts needed for managing GIT on your web server! This PHP-based deploy tool has exactly one button for git push and one for git pull.
- Set up a Git repository if you haven't already. DoIT Shared Tools now offers Git repository space at https://git.doit.wisc.edu.
- You'll need to take the public key from each site that will communicate with the repository and add it to your GIT repository account's SSH keys. See Web Hosting - (LAMP) Key-based authentication for the location of your site's public key.
- Email email@example.com and let us know the sites (test and/or production) where you'd like to use GIT Deploy and the location within each site where you'd like us to place the deploy script. By default, we will place it in httpdocs/deploy. Web Hosting will also set up NetID protection for the deploy script directory with access limited to a Manifest group based on the list of contacts for the account.
- Once Web Hosting lets you know that the deploy script is in place, go to the inc/config.php script file and edit the repo, url and remote values to match the locations of your local and remote repositories.
Please contact: firstname.lastname@example.org to have git pull integration enabled for your site!