Skip to main content

repo-sync

Sync world-cup repo from GitHub, update nginx-served HTML, and reload. Used when pulling latest changes or deploying updates.

Aller à l'installation

Informations de source

Dépôt
Piaoxuemoli/qoobeeHermes
Dernière activité de la source
15 juin 2026 à 15:38
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
repo-sync
description
Sync world-cup repo from GitHub, update nginx-served HTML, and reload. Used when pulling latest changes or deploying updates.
version
1.0.0
author
QoobeeHermes
platforms
["linux"]
metadata
{"hermes":{"tags":["world-cup","git","deploy","nginx"],"related_skills":["lottery-updater","bet-sync"]}}
# Repo Sync 同步 GitHub 仓库并部署到 nginx。 ## When to Use | 场景 | 动作 | |------|------| | 用户说 "部署" / "更新页面" | git pull → cp → reload | | 用户说 "同步代码" | git pull | | 部署新投注方案后 | cp html → reload | ## 执行流程 ```bash cd ~/world-cup && git pull origin main cp 世界杯预测.html index.html nginx -s reload ``` 验证:`curl -sI http://localhost:8080/ | head -5` ## 注意事项 - 确保 `index.html` 与 `世界杯预测.html` 始终同步 - nginx 以 root 用户运行,配置在 `/etc/nginx/conf.d/worldcup.conf`
Voir sur GitHub