/install git-deployer-kryzl19
git-deployer
Deploy static site content to GitHub Pages or any git-backed host.
When to Use
- GitHub Pages updates — You have a local build/output directory and want to push it to a
username.github.iorepo or a Pages branch (gh-pages,main) - Static site deployment — Hugo, Jekyll, Gatsby, Docusaurus, or any static site with a git-hosted output
- Automated CI replacement — Instead of setting up GitHub Actions, you want a one-command deploy from your machine
- Syncing local → remote — You edit content locally and need to push changes to a hosted git repository
Workflow
Local Site Directory → /tmp/clone → File Copy → Commit → Force Push → Done
- Clone or init — If the remote repo exists, clone it to
/tmp/{reponame}. Otherwise initialize a fresh clone - Copy files — Sync your local site directory contents into the clone (clean copy, not append)
- Commit — Stage all files, commit with auto-generated timestamp message
- Force push — Push to remote with force flag to overwrite remote state
- Report — Output success/failure with commit hash and push result
Usage
Via skill invocation (from agent)
Provide the following arguments:
site_path— Absolute path to the local site directory (the content to deploy)remote_url— Full git URL (e.g.,https://github.com/user/repo.gitor[email protected]:user/repo.git)branch— Branch to deploy to (default:main)
Via script directly
./scripts/deploy.sh /path/to/site [email protected]:user/repo.git [branch]
Output
- Success — Shows commit hash, remote URL, branch, and push status
- Failure — Shows error message with exit code and which step failed
Requirements
gitmust be installed and configured with credentials for the remote- SSH key or HTTPS token auth must be set up for the remote repository
- Site path must exist and contain files
Notes
- Uses
--forcepush — this will overwrite remote state. Use with caution on shared branches - Clone happens in
/tmpand is not cleaned up automatically (intentional: allows inspection) - Commit message format:
Deploy: YYYY-MM-DD HH:MM:SS UTC
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install git-deployer-kryzl19 - After installation, invoke the skill by name or use
/git-deployer-kryzl19 - Provide required inputs per the skill's parameter spec and get structured output
What is Git Deployer?
Push static site content to GitHub Pages repositories. Clone, copy files, commit with timestamp, force-push. Use when updating GitHub Pages sites, deploying... It is an AI Agent Skill for Claude Code / OpenClaw, with 116 downloads so far.
How do I install Git Deployer?
Run "/install git-deployer-kryzl19" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Git Deployer free?
Yes, Git Deployer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Git Deployer support?
Git Deployer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Git Deployer?
It is built and maintained by KRYZL19 (@kryzl19); the current version is v1.0.0.