Point backend deploy docs at gitea.meshkee.com.

Production now pulls meshkee-app/backend over SSH port 2222 instead of the old git.meshkee.com remote.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-14 11:20:48 +03:30
co-authored by Cursor
parent 30119e6d9e
commit c76c3967bb
2 changed files with 11 additions and 11 deletions
+7 -7
View File
@@ -8,7 +8,7 @@ alwaysApply: true
When deploying the Meshkee CMS API to production (`api.meshkee.com` / VM `/opt/meshkee/app`):
1. **Commit** the changes (only when the user asked to commit/deploy).
2. **Push** to `origin` (`https://git.meshkee.com/Meshkee/backend.git`, usually `main`).
2. **Push** to `origin` (`https://gitea.meshkee.com/meshkee-app/backend.git`, usually `main`).
3. **On the API VM**, update from git and rebuild — do **not** rsync/scp the app tree as the normal deploy path.
```bash
@@ -34,17 +34,17 @@ REMOTE
## VM git access
Deploy key (read-only) on `git.meshkee.com` for repo `Meshkee/backend`, installed as `/root/.ssh/id_ed25519` on the API VM.
Deploy key (read-only) on `gitea.meshkee.com` for repo `meshkee-app/backend`, installed as `/root/.ssh/id_ed25519` on the API VM.
Gitea SSH listens on **port 222** (not 22). The API VM must have `/root/.ssh/config`:
Gitea SSH listens on **port 2222** (not 22). The API VM must have `/root/.ssh/config`:
```
Host git.meshkee.com
HostName git.meshkee.com
Host gitea.meshkee.com
HostName gitea.meshkee.com
User git
Port 222
Port 2222
IdentityFile /root/.ssh/id_ed25519
IdentitiesOnly yes
```
Remote URL: `git@git.meshkee.com:Meshkee/backend.git` (port comes from SSH config).
Remote URL: `git@gitea.meshkee.com:meshkee-app/backend.git` (port comes from SSH config).