Web Deploy GitHub Pages
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 n…
ThomekSolutions
@thomeksolutions
What This Skill Does
Creates and deploys single-page static websites to GitHub Pages using an autonomous workflow. Handles project initialization, code generation, GitHub repository setup, and automated deployment via GitHub Actions.
Replaces manually setting up GitHub Pages repositories and writing deployment workflows by automating the entire process from project scaffolding to live site.
When to Use It
- Build and deploy a personal portfolio or CV website to GitHub Pages
- Create a landing page for a new app or product with automated deployment
- Initialize a static site project with modern HTML/CSS/JS boilerplate and CI/CD
- Set up a GitHub Actions workflow for deploying static sites to gh-pages branch
- Generate a responsive single-page website with mobile-first design and dark mode
Install
$ openclaw skills install @thomeksolutions/web-deploy-githubWeb 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:
base-html/- Minimal HTML5 boilerplateportfolio/- Portfolio/CV template with sectionslanding/- Landing page with hero and CTA
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
gh-pagesbranch - 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
assets/templates/portfolio/as base - 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
assets/templates/landing/as base - 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
gh-pagesbranch - Verify GitHub Actions workflow ran successfully
- Check DNS propagation (can take 5-10 minutes)
Permission Errors
- Ensure
ghCLI is authenticated:gh auth status - Check repository permissions on GitHub
Build Failures
- Review Actions logs in repository
- Verify
.github/workflows/deploy.ymlsyntax - Check file paths and references
Resources
scripts/
init_project.sh- Initialize project structuredeploy_github_pages.sh- Deploy to GitHub Pages
references/
workflow.md- Detailed workflow documentationdesign-patterns.md- Design best practices
assets/
templates/base-html/- Minimal HTML5 boilerplatetemplates/portfolio/- Portfolio/CV templatetemplates/landing/- Landing page template.github/workflows/deploy.yml- GitHub Actions workflow template
Top skills in this category
OpenClaw Command Center
@jontsaiMission control dashboard for OpenClaw - real-time session monitoring, LLM usage tracking, cost intelligence, and system vitals. View all your AI agents in one place.
Interview Simulator
@wscatsSimulates mock interviews for any role and experience level with tailored technical, behavioral, and case questions plus detailed feedback and scoring.
moltbook-interact
@lunarcmdInteract with Moltbook social network for AI agents. Post, reply, browse, and analyze engagement. Use when the user wants to engage with Moltbook, check their feed, reply to posts, or track their activity on the agent social network.
Web Development
@ivangdavilaBuild, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
Baidu Wenku AI picture book of video
@ide-rea百度文库AI绘本是一个基于人工智能制作绘本视频的工具,支持生成静态绘本和动态绘本(URL输出)。能帮助文本内容创作者们在缺乏绘画技能的情况下,快速生成精美绘本视频,提高内容生产效率。无论是在儿童教育、亲子互动、品牌营销,还是在社交媒体内容创作等领域都能应用。