diff --git a/README.md b/README.md index 50c8286..327afc9 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ docker compose up --build The script: 1. Commits any pending changes and pushes to Forgejo (`oskar/gethumanai-landing`). -2. SSH-es to `ubuntu-4gb-hel1-1`, pulls the repo and runs `docker compose up -d --build`. +2. SSH-es to `ubuntu-4gb-hel1-1`, clones/pulls to `~/gethumanai-landing` and runs `docker compose up -d --build`. The container joins the `npm_proxy` Docker network. In **Nginx Proxy Manager** on the VPS, create a proxy host: `gethumanai.com` → `http://humanai-landing:80`. diff --git a/deploy.sh b/deploy.sh index 9a284ba..fb63cbb 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,7 +6,7 @@ set -euo pipefail VPS="ubuntu-4gb-hel1-1" REPO_DIR="/home/oskar/projects/gethumanai-landing" -VPS_DEPLOY_DIR="/opt/gethumanai-landing" +VPS_DEPLOY_DIR="/home/oskar/gethumanai-landing" FORGEJO_REMOTE="ssh://git@100.108.208.3:222/oskar/gethumanai-landing.git" # ── 1. Commit & push (SATURN) ────────────────────────────────────────────── @@ -24,7 +24,7 @@ git push origin main # Host: ubuntu-4gb-hel1-1 ssh "$VPS" bash -s <<'REMOTE' set -euo pipefail -DEPLOY_DIR="/opt/gethumanai-landing" +DEPLOY_DIR="/home/oskar/gethumanai-landing" if [ ! -d "$DEPLOY_DIR/.git" ]; then git clone ssh://git@100.108.208.3:222/oskar/gethumanai-landing.git "$DEPLOY_DIR"