بنقرة واحدة
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 权限