chore: load fnm in deploy script for Node/npm
Export PATH and eval fnm env so npm run build uses the intended Node version on the VPS. Made-with: Cursor
This commit is contained in:
@@ -14,6 +14,10 @@ PHP="/usr/local/php84/bin/php"
|
||||
COMPOSER="/usr/local/bin/composer"
|
||||
TAG="${1:-}"
|
||||
|
||||
# Load fnm (Node version manager)
|
||||
export PATH="$HOME/.local/share/fnm:$PATH"
|
||||
eval "$(fnm env)"
|
||||
|
||||
echo "══════════════════════════════════════"
|
||||
echo " PreRegister — Deploy"
|
||||
echo "══════════════════════════════════════"
|
||||
|
||||
Reference in New Issue
Block a user