Ship an example run-deploy-from-local.sh with a placeholder SSH alias so each developer can drop in their own; the real file stays gitignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
333 B
Bash
9 lines
333 B
Bash
# Local deploy wrapper — copy to run-deploy-from-local.sh and replace <your-vps-alias>
|
|
# with the SSH host alias from your ~/.ssh/config that points to the Crewli VPS.
|
|
|
|
ssh <your-vps-alias> "sudo -u crewli bash -c '
|
|
export PATH=\"\$HOME/.local/share/fnm:\$PATH\"
|
|
eval \"\$(fnm env)\"
|
|
cd /home/crewli/crewli && ./deploy.sh
|
|
'"
|