deploy fix
Some checks failed
Deploy SingleChat / deploy (push) Failing after 13s

This commit is contained in:
Torsten Schulz (local)
2026-06-15 16:38:01 +02:00
parent f6e0b95a1f
commit c48c833b65
3 changed files with 25 additions and 4 deletions

View File

@@ -55,14 +55,14 @@ sudo journalctl -u ypchat -f
## Auto-Rollout mit Gitea
Der Workflow `.gitea/workflows/deploy.yml` startet bei Push auf `main` per SSH das Server-Skript `/usr/local/bin/actualize-singlechat.sh`.
Der Workflow `.gitea/workflows/deploy.yml` startet bei Push auf `main` per SSH das Server-Skript `/usr/local/bin/actualize-singlechat.sh`. Das Skript wird vom Workflow vor dem Start nach `/usr/local/bin` installiert.
Gitea-Konfiguration:
- Variables: `SSH_HOST`, `SSH_PORT`, `SSH_USER`
- Secret: `PROD_SSH_KEY_B64` mit dem base64-kodierten privaten Deploy-Key
Server-Skript installieren:
Server-Skript manuell testen:
```bash
sudo install -m 755 scripts/actualize-singlechat.sh /usr/local/bin/actualize-singlechat.sh