configure-git-webserver
Installation
SKILL.md
Configure Git Webserver
Overview
This skill provides guidance for setting up a Git-based web deployment system where pushing to a Git repository automatically deploys content to a web server. The typical workflow involves creating a bare Git repository, configuring a post-receive hook to deploy content, and running a web server to serve the deployed files.
Approach
Component Identification
Before implementation, identify all required components:
- Bare Git repository - The central repository that receives pushes
- Web content directory - Where deployed files are served from
- Post-receive hook - Automates deployment on push
- Web server - Serves the deployed content
- User access - Permissions for users to push to the repository