Skip to content

Commit 6d2077b

Browse files
docs(automation): document test_deploy_ssh usage in automation README
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e93efdc commit 6d2077b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/automation/README_AUTOMATION_EXT.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ Kurz: Diese Anleitung erklärt, wie du die optionalen Deploy‑Secrets sicher an
3030

3131
Optional: Ich kann ein kurzes Shell‑Testscript hinzufügen, das vor dem ersten Merge die SSH‑Verbindung prüft (ssh -i KEY -p PORT USER@HOST echo ok). Soll ich das zusätzlich anlegen? (ja/nein)
3232

33+
Hinweis zum Testscript:
34+
- Datei: `scripts/test_deploy_ssh.sh` (bereits vorhanden im Repo)
35+
- Beispielaufruf:
36+
- `./scripts/test_deploy_ssh.sh -h example.com -u deployuser -k ~/.ssh/agents_deploy_key -p 22 -t /var/www/agents`
37+
- Das Script prüft SSH‑Login und optionales SCP eines kleinen Testfiles in das angegebene Zielverzeichnis.
38+
39+
Führe das Script lokal aus, bevor du Secrets in GitHub setzt, um sicherzustellen, dass der Deploy‑User korrekt konfiguriert ist.
40+

0 commit comments

Comments
 (0)