跳到正文
TakoAPI
返回技能列表

kj-web-deploy-github

由 kjaylee 提供

Web & Frontend Development
—暂无评分
你的评分

简介

Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

描述

该技能的功能

Automates the full lifecycle of static website deployment to GitHub Pages, from project scaffolding to live URL. Generates HTML/CSS/JS files, sets up a GitHub repository, and configures GitHub Actions for continuous deployment on push.

Combines project initialization, GitHub repo creation, and Actions-based deployment into a single automated workflow instead of requiring manual steps across multiple tools.

何时使用

  • Deploying a portfolio or CV site to GitHub Pages
  • Setting up auto-deploy for a personal landing page
  • Publishing a product or app landing page at no cost
  • Scaffolding a static project with CI/CD in one command
  • Giving a client a live URL for a single-page site quickly

示例工作流

输入

User asks: 'Create a portfolio CV site and deploy it to GitHub Pages'

智能体
  1. 1

    Run init_project.sh portfolio-cv to create the project structure

  2. 2

    Use the portfolio template from assets/templates/portfolio/ as the base

  3. 3

    Generate complete index.html, styles.css, and script.js with Hero, About, Skills, Projects, and Contact sections

  4. 4

    Run deploy_github_pages.sh portfolio-cv <username> to create the GitHub repo and push the initial commit

  5. 5

    GitHub Actions triggers and deploys the site to the gh-pages branch

输出

Live site available at https://<username>.github.io/portfolio-cv/

前置要求

  • GitHub account
  • GitHub CLI (gh) authenticated via gh auth login

安装

clawhub install kjaylee/kj-web-deploy-github

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接