Update VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md and recompile PDF with deploy key documentation
This commit is contained in:
1 parent
e8f94ffe84
commit
826eac29d2
3 files changed
+18
-1
No files matched your search
@@ -230,3 +230,20 @@ Sync the updated working tree(s) into the RAM mount and regenerate the `.br` / `
|
||||
- **Negating Service/Caddy Sync (`--no-caddy` / `--no-services`):**
|
||||
Pass `--no-caddy` (e.g., `sync-vps-repos.sh --no-pull --no-caddy`) to sync only the RAM-backed webroot files and `.br`/`.gz` sidecars without touching `/etc/caddy/Caddyfile` or `systemd`.
|
||||
- **Browser Cache Note:** `HTML`/`JS`/`JSON` routes carry `Cache-Control: public, max-age=300` (5 minutes); press `Ctrl+Shift+R` (`Cmd+Shift+R` on macOS) in your browser to bypass the 5-minute client cache immediately after syncing.
|
||||
|
||||
---
|
||||
|
||||
## 6. Automated VPS Telemetry Push & Deploy Key Configuration (`run-vps-data-production.sh`)
|
||||
|
||||
When autonomous VPS harvest timers (`hyperstition-closing-bell-harvest.timer` or `hyperstition-utc-rollover-harvest.timer`) execute `deploy/run-vps-data-production.sh`, Step 4 [4/5] automatically commits and pushes updated telemetry and harvest state back to `git.libre.audio` if a secure deploy key is provisioned.
|
||||
|
||||
### 1. Deploy Key File Path
|
||||
- **Required Path on VPS**: `/etc/hyperstitionstud.io/id_ed25519_git_libre_audio`
|
||||
- **Permissions**: Must be restricted (`chmod 600`) and owned by the harvesting user.
|
||||
|
||||
### 2. Autonomous Git Push Mechanism
|
||||
When the deploy key file is present, `run-vps-data-production.sh` exports `GIT_SSH_COMMAND` to authenticate securely without interactive prompts:
|
||||
```bash
|
||||
export GIT_SSH_COMMAND="ssh -i /etc/hyperstitionstud.io/id_ed25519_git_libre_audio -o StrictHostKeyChecking=accept-new"
|
||||
```
|
||||
If the deploy key file is absent, step [4/5] safely skips the automated push (`[4/5] Skipping automated git.libre.audio push (no-push or deploy key absent)`), allowing harvesting to complete locally without failure.
|
||||
Binary file not shown.
Reference in new issue
Block a user