chore: add local deploy wrapper example and ignore personal copy

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>
This commit is contained in:
2026-04-23 17:22:48 +02:00
parent ddef06eac8
commit 333db5818d
2 changed files with 12 additions and 0 deletions

4
.gitignore vendored
View File

@@ -50,3 +50,7 @@ resources/**/design-files/
# VitePress # VitePress
docs/.vitepress/dist docs/.vitepress/dist
docs/.vitepress/cache docs/.vitepress/cache
# Local deploy wrapper (per-developer SSH alias)
/run-deploy-from-local.sh
!/run-deploy-from-local.example.sh

View File

@@ -0,0 +1,8 @@
# 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
'"