feat: agrega desplegar.sh — build y publish a WebControlSigma CLI Sync

Compila APK Android y bundle Linux, luego sube al endpoint
POST /api/upload_app.php con la version leída de pubspec.yaml.
Uso: ./desplegar.sh [android|linux|all]

servers.conf (gitignored) contiene WEBCONTROL_API_KEY y APP_NOMBRE.
servers.conf.example documenta la plantilla para nuevos desarrolladores.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Pablinux
2026-06-17 10:02:25 -05:00
co-authored by Claude Sonnet 4.6
parent 47226f5fa5
commit cb17434f71
3 changed files with 159 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# servers.conf — configuración local de despliegue
# NO commitear este archivo (está en .gitignore).
# Copiar a servers.conf y completar los valores reales.
#
# Obtener API key: https://siax-system.net → Clientes → API Keys → Tab "Central"
WEBCONTROL_API_KEY=TU_API_KEY_AQUI
# Nombre exacto de la app registrado en WebControlSigma
# Verificar con: curl https://api.siax-system.net/api/apps -H "x-api-key: $WEBCONTROL_API_KEY"
APP_NOMBRE="Agente Ventas"