Awesome-openclaw-skills web-deploy-github
Create and deploy single-page static websites to GitHub Pages with autonomous workflow. Use when building portfolio sites, CV pages, landing pages, or any static web project that needs GitHub Pages deployment. Handles complete workflow from project initialization to live deployment with GitHub Actions automation.
git clone https://github.com/sundial-org/awesome-openclaw-skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/web-deploy-github" ~/.claude/skills/sundial-org-awesome-openclaw-skills-web-deploy-github && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/web-deploy-github" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-web-deploy-github && rm -rf "$T"
skills/web-deploy-github/SKILL.mdWeb Deploy GitHub Pages
Overview
This skill enables autonomous creation and deployment of static websites to GitHub Pages. It follows a complete workflow from project structure initialization through automatic deployment via GitHub Actions, optimized for single-page applications, portfolios, and landing pages.
Core Workflow
1. Project Initialization
Create the project structure:
bash scripts/init_project.sh <project-name>
This creates:
project-name/ ├── index.html ├── styles.css ├── script.js ├── README.md └── .github/ └── workflows/ └── deploy.yml
2. Development
Build the website following these principles:
- Single-page first: Optimize for one-page layouts unless multiple pages explicitly required
- Autonomous generation: Generate complete, production-ready code without placeholders
- Modern design: Use modern CSS (flexbox, grid), responsive design, clean aesthetics
- No dependencies: Pure HTML/CSS/JS when possible, CDN links if frameworks needed
Use templates from
assets/templates/ as starting points:
- Minimal HTML5 boilerplatebase-html/
- Portfolio/CV template with sectionsportfolio/
- Landing page with hero and CTAlanding/
3. GitHub Repository Setup
bash scripts/deploy_github_pages.sh <project-name> <github-username>
This script:
- Initializes git repository
- Creates GitHub repository via GitHub CLI
- Configures GitHub Pages settings
- Pushes initial commit
- Triggers first deployment
4. Deployment
GitHub Actions automatically deploys on push to main branch. The workflow:
- Checks out code
- Deploys to
branchgh-pages - Makes site live at
https://<username>.github.io/<project-name>/
Architecture Guidelines
HTML Structure
- Semantic HTML5 elements
- Meta tags for SEO and social sharing
- Responsive viewport configuration
- Favicon and icons
CSS Design
- Mobile-first responsive design
- CSS variables for theming
- Flexbox/Grid for layouts
- Smooth transitions and animations
- Dark mode support when appropriate
JavaScript
- Vanilla JS preferred
- Progressive enhancement
- Event delegation
- No console errors
Performance
- Optimized images
- Minified assets for production
- Lazy loading where appropriate
- Fast initial load time
Quick Examples
Example 1: Portfolio CV Site
User request: "Crée-moi un site portfolio CV"
Action:
- Run
init_project.sh portfolio-cv - Use
as baseassets/templates/portfolio/ - Generate complete HTML with sections: Hero, About, Skills, Projects, Contact
- Deploy with
deploy_github_pages.sh portfolio-cv username
Example 2: Landing Page
User request: "Fais-moi une landing page pour mon app"
Action:
- Run
init_project.sh app-landing - Use
as baseassets/templates/landing/ - Generate with Hero, Features, Pricing, CTA
- Deploy with
deploy_github_pages.sh app-landing username
Troubleshooting
GitHub Pages Not Deploying
- Check repository Settings → Pages → Source is set to
branchgh-pages - Verify GitHub Actions workflow ran successfully
- Check DNS propagation (can take 5-10 minutes)
Permission Errors
- Ensure
CLI is authenticated:ghgh auth status - Check repository permissions on GitHub
Build Failures
- Review Actions logs in repository
- Verify
syntax.github/workflows/deploy.yml - Check file paths and references
Resources
scripts/
- Initialize project structureinit_project.sh
- Deploy to GitHub Pagesdeploy_github_pages.sh
references/
- Detailed workflow documentationworkflow.md
- Design best practicesdesign-patterns.md
assets/
- Minimal HTML5 boilerplatetemplates/base-html/
- Portfolio/CV templatetemplates/portfolio/
- Landing page templatetemplates/landing/
- GitHub Actions workflow template.github/workflows/deploy.yml