원클릭으로
github-pages-deploy
Deploy static sites to GitHub Pages via API — create repo, push, enable Pages, all from CLI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Deploy static sites to GitHub Pages via API — create repo, push, enable Pages, all from CLI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Delegate coding to OpenAI Codex CLI (features, PRs).
Configure, extend, or contribute to Hermes Agent.
Manage multiple remote servers from Hermes via SSH — deploy services, configure firewalls, transfer files, run commands across servers
Clone/create/fork repos; manage remotes, releases.
Parallel data collection from web sources, APIs, and documentation sites
Build knowledge bases from collected data — clean raw files, generate search indexes, deploy GitHub Pages websites, and package as Hermes skills. Covers the full pipeline from raw READMEs/docs to searchable open-source knowledge bases.
| name | github-pages-deploy |
| version | 1.0.0 |
| description | Deploy static sites to GitHub Pages via API — create repo, push, enable Pages, all from CLI |
| tags | ["github","pages","deploy","static-site","ci-cd","api"] |
| triggers | ["deploy to github pages","github pages setup","部署GitHub Pages","静态网站部署","开源网站"] |
~/.hermes/.env 的 GITHUB_TOKEN= 行TOKEN=$(python3 -c "
for line in open('$HOME/.hermes/.env'):
if line.startswith('GITHUB_TOKEN='):
print(line.split('=',1)[1].strip().strip('\"').strip(\"'\"))
break
")
curl -s -X POST https://api.github.com/user/repos \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"repo-name","description":"描述","public":true}'
cd /path/to/project
git init
git add -A
git commit -m "init"
git branch -m master main
git remote add origin "https://USERNAME:${TOKEN}@github.com/USERNAME/repo-name.git"
git push -u origin main
curl -s -X POST "https://api.github.com/repos/USERNAME/repo-name/pages" \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/json" \
-d '{"source":{"branch":"main","path":"/"}}'
网站地址:https://USERNAME.github.io/repo-name/
git add -A && git commit -m "update" && git push origin main
GitHub Actions自动重新部署(如果有 .github/workflows/deploy.yml)。
repo scope,fine-grained token需要 Pages: Read and write 权限