max / makenotwork
1 file changed,
+4 insertions,
-0 deletions
| @@ -43,6 +43,10 @@ upload_config() { | |||
| 43 | 43 | echo "[config] Uploading static assets..." | |
| 44 | 44 | rsync -az --delete static/ $SERVER:$REMOTE_DIR/static/ | |
| 45 | 45 | ||
| 46 | + | # Documentation (public markdown files) | |
| 47 | + | echo "[config] Uploading documentation..." | |
| 48 | + | rsync -az --delete ../../docs/public/ $SERVER:$REMOTE_DIR/docs/public/ | |
| 49 | + | ||
| 46 | 50 | # Reload systemd and restart Caddy | |
| 47 | 51 | ssh $SERVER "systemctl daemon-reload && systemctl restart caddy" | |
| 48 | 52 | echo "[config] Done" |