diff --git a/deploy/push-und-sync.ps1 b/deploy/push-und-sync.ps1 index 019bdb4..ed6b1c3 100644 --- a/deploy/push-und-sync.ps1 +++ b/deploy/push-und-sync.ps1 @@ -60,7 +60,16 @@ if (-not $NurSync) { Schritt "Push nach Gitea ($(($ausstehend | Measure-Object).Count) Commit(s))" $ausstehend | ForEach-Object { Write-Host " $_" } git push origin $zweig - if ($LASTEXITCODE -ne 0) { throw "Push fehlgeschlagen. Haengt die DDNS-Domain? Interne Adresse ist http://192.168.178.153:3000" } + if ($LASTEXITCODE -ne 0) { + throw @" +Push fehlgeschlagen. +Seit 21.08. laeuft der Weg ueber SSH: ssh://gitea@192.168.178.153:2222/... +Pruefen mit: ssh -T gitea +Kommt dort keine Begruessung, lauscht Giteas SSH-Server nicht (Port 2222, +START_SSH_SERVER in /etc/gitea/app.ini) oder id_general ist nicht hinterlegt. +Der SSH-Benutzer heisst 'gitea', NICHT 'git' - Gitea laeuft unter diesem Namen. +"@ + } Gut "gepusht" } }