Docs: DSPLIEGUE.md simplificado + deploy.php minimal

This commit is contained in:
Ricardo Monla
2026-05-04 08:31:48 -03:00
parent 51abb60b4d
commit ab6dd73739
2 changed files with 135 additions and 35 deletions
+119
View File
@@ -19294,3 +19294,122 @@ Permission denied, please try again.
✅ Sincronización completada — 0 videos nuevos subidos
2026-05-04 08:20:11
🔄 Sincronización iniciada — 2026-05-04 08:30:01
Registro: 46 | Mapa: 23
📊 Mapa actualizado: 46 videos
📝 Regenerando libro...
📂 Planificación (9 temas)
📂 Preparación Atlética (15 temas)
📂 Explicación del Trabajo Práctico a Presentar (2 temas)
📂 Seguimientos de Equipos (16 temas)
📂 Análisis de Equipos de Voleibol (23 temas)
📂 Análisis de Equipos de Voleibol 2 (7 temas)
📂 Trabajo Práctico Final de la Unidad (3 temas)
📂 Entrenamiento de los Centrales y Opuestos/as (25 temas)
📂 Puntas y Liberos/as (13 temas)
📂 Entrenamiento de los y las Armadoras (1 temas)
📂 Explicación del Trabajo Práctico a Presentar (1 temas)
✓ /home/rmonla/Documentos/GitHub/rm-KSALDIS-DT/descargar-curso/descargas/LIBRO_DE_ESTUDIO.md (33 KB)
✓ /home/rmonla/Documentos/GitHub/rm-KSALDIS-DT/descargar-curso/descargas/LIBRO_DE_ESTUDIO.html (107 KB)
115 temas de estudio
📤 Subiendo cambios...
Sin cambios en git.
🚀 Desplegando...
Permission denied, please try again.
Permission denied, please try again.
📹 Sincronizando videos al servidor...
📤 Subiendo M1_Explicacion_TP_video_1173576229.mp4...
❌ Error scp
📤 Subiendo M1_Planificacion_PLANIFICACIÓN.mp4...
❌ Error scp
📤 Subiendo M1_Preparacion_Atletica_PREPARACIÓN_ATLÉTICA.mp4...
❌ Error scp
📤 Subiendo M1_Preparacion_Atletica_video_1063655414.mp4...
❌ Error scp
📤 Subiendo M1_Preparacion_Atletica_video_1063657248.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_APOYO_0.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_ATAQUE_B.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_BETI_A_UN_PIE_ATRAS.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_BETI_EN_JUEGO.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HANA_POSITIVA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HANA_RECEPCION_A_2.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HATU_BIEN_HECHA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HATU_CON_PELOTA_SEPARADA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HATUMARCADA_BIEN_ATACADA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HATU_MARCADA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_HATU_RECEPCION_PERFECTA.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_PRIORIDAD_EN_EL_BLOQUEO.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_SKIPPED_STEP.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_1179197191.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919342668.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919346562.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919355668.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919359386.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919359855.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919360318.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919363728.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919365485.mp4...
❌ Error scp
📤 Subiendo M2_Centrales_y_Oponentes_video_919366263.mp4...
❌ Error scp
📤 Subiendo M2_Entrenamiento_Armadoras_video_1181188693.mp4...
❌ Error scp
📤 Subiendo M2_Explicacion_TP_video_1181892359.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_EVALUACION_POSICIONAL.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_GLOBAL_TECNICO_DE_LA_PIPE.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_PUNTAS_Y_LÍBEROS_AS.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_SPLIT_STEP.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921873304.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921873724.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921873953.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921875302.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921875519.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921875778.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921879520.mp4...
❌ Error scp
📤 Subiendo M2_Puntas_y_Liberos_video_921879925.mp4...
❌ Error scp
📤 Subiendo MX_video_1073484590.mp4...
❌ Error scp
📤 Subiendo MX_video_1175436659.mp4...
❌ Error scp
📤 Subiendo MX_video_1176900332.mp4...
❌ Error scp
📤 Subiendo MX_video_876705933.mp4...
❌ Error scp
✅ Sincronización completada — 0 videos nuevos subidos
2026-05-04 08:30:11
+16 -35
View File
@@ -7,52 +7,33 @@ srv-ns8 (tu máquina local)
│ git add + commit + push
srvv-gitea (10.0.10.205:3000)
Gitea Webhook (POST /ksaldis-dt/deploy.php)
│ Webhook POST → http://10.0.10.117/ksaldis-dt/deploy.php
srvv-nginx-rm (10.0.10.117)
deploy.php → deploy_ksaldis.sh
│ git pull desde srvv-gitea
git pull origin main
/var/www/ksaldis-dt/ actualizado
```
## Archivos involucrados
Así de simple. Pusheás y se actualiza solo.
| Archivo | Ruta en hosting | Función |
## Archivos
| Archivo | Función |
|---|---|
| `/var/www/ksaldis-dt/deploy.php` | Recibe el webhook y ejecuta `git pull` |
## Conexiones
| Origen → Destino | Usuario | Clave |
|---|---|---|
| `deploy.php` | `/var/www/ksaldis-dt/deploy.php` | Recibe el webhook de Gitea |
| `deploy_ksaldis.sh` | `/var/www/ksaldis-dt/deploy_ksaldis.sh` | Ejecuta git pull y copia archivos |
| `deploy.log` | `/var/www/ksaldis-dt/deploy.log` | Registro de cada deploy |
| srv-ns8 → srvv-gitea (`10.0.10.205`) | `rmonla` | `lhsurnm$77UTN` |
| srvv-gitea → srvv-nginx-rm (`10.0.10.117`) | `rmonla` | SSH key (sin pass) |
## Configuración en Gitea
## URLs
- **URL del webhook**: `http://10.0.10.117/ksaldis-dt/deploy.php`
- **Content type**: `application/json`
- **Eventos**: Push events
- **Secret**: `ksaldis2026deploy` (validación HMAC-SHA256 opcional)
## Qué se actualiza
Al hacer `git push`, el webhook dispara el script que:
1. `git pull` del repositorio en `/var/www/ksaldis-dt/.repo/`
2. Copia `LIBRO_DE_ESTUDIO.html` como `index.html`
3. Sincroniza `secciones/` (PDFs, contenido)
4. Sincroniza `campus/`, `imagenes/`, `screenshots/`, `subpaginas/`
**Los videos NO se actualizan por git** (pesan ~18GB). Se copiaron manualmente a `/var/www/ksaldis-dt/videos_offline/`.
## Acceso al sitio
| URL | Descripción |
| URL | Qué es |
|---|---|
| `http://10.0.10.117/ksaldis-dt/` | Libro de estudio (red local) |
| `http://rmonla.duckdns.org/ksaldis-dt/` | Libro de estudio (público) |
| `http://10.0.10.205:3000/rmonla/rm-KSALDIS-DT` | Repositorio en Gitea |
## Conexiones SSH
| Origen | Destino | Usuario | Clave |
|---|---|---|---|
| srv-ns8 → srvv-gitea | `10.0.10.205` | `rmonla` | `lhsurnm$77UTN` |
| srvv-gitea → srvv-nginx-rm | `10.0.10.117` | `rmonla` | SSH key (sin pass) |