This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user