Skip to content

docs: record the deploy procedure and the host/CI toolchain split - #2

Open
GionaGranchelli wants to merge 1 commit into
masterfrom
docs/deploy-procedure
Open

GionaGranchelli wants to merge 1 commit into
masterfrom
docs/deploy-procedure

Conversation

@GionaGranchelli

Copy link
Copy Markdown
Owner

Documents what I had to rediscover while deploying: the live path (Linode host tuna, nginx root /var/www/picklinux/app/public), the existing /root/deploy-picklinux.sh sequence, why it is safe (it builds before swapping, so a failed build cannot take the site down), and the toolchain split — host Node 20 + pnpm 10.30.1, CI Node 22 + pnpm 11.6.0 — with the note that upgrading pnpm on the host means upgrading Node to 22 at the same time.

Docs only, no code or data change.

The procedure existed only on the host (/root/deploy-picklinux.sh, nginx root
/var/www/picklinux/app/public), so it was rediscoverable only by logging in. Also
records the toolchain trap found while deploying this branch: the host runs Node
20 + pnpm 10.30.1 and CI runs Node 22 + pnpm 11.6.0, and upgrading pnpm on the
host requires Node 22 at the same time (pnpm 11 needs node:sqlite).
Copilot AI lite review requested due to automatic review settings September 28, 2026 08:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The new deployment documentation contains an internal inconsistency about the minimum Node version required for pnpm 11, which could mislead future deployments.

Review effort: Lite
Findings: 2 Low severity

Open (2)
What changed in this PR

Adds a new deployment runbook documenting the current production host layout, the manual on-host deploy script sequence, and the intentional split between host vs CI Node/pnpm toolchains.

Changes:

  • Document production host paths (nginx root, git checkout, publish directory) and domain/IP mapping.
  • Record the /root/deploy-picklinux.sh deploy sequence and a detached SSH invocation pattern.
  • Document the host vs CI Node/pnpm versions and upgrade coupling notes.
File Description
docs/​deploy.md New deployment documentation covering host layout, deploy steps, and toolchain/version constraints.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/deploy.md
@@ -0,0 +1,52 @@
# Deployment

whichdistro.com is a statically prerendered Nuxt app (`nitro.preset: "static"`), served by nginx
Comment thread docs/deploy.md
Comment on lines +39 to +40
If pnpm is ever upgraded on the host to 11, Node must go to 22 at the same time: pnpm 11 requires
`node:sqlite`, which landed in Node 22.5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants