From 333db5818d95248b305d4ccaa42c59e6904687b7 Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Thu, 23 Apr 2026 17:22:48 +0200 Subject: [PATCH] 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) --- .gitignore | 4 ++++ run-deploy-from-local.example.sh | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 run-deploy-from-local.example.sh diff --git a/.gitignore b/.gitignore index a037c8b6..9679787c 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,7 @@ resources/**/design-files/ # VitePress docs/.vitepress/dist docs/.vitepress/cache + +# Local deploy wrapper (per-developer SSH alias) +/run-deploy-from-local.sh +!/run-deploy-from-local.example.sh diff --git a/run-deploy-from-local.example.sh b/run-deploy-from-local.example.sh new file mode 100644 index 00000000..a3989e03 --- /dev/null +++ b/run-deploy-from-local.example.sh @@ -0,0 +1,8 @@ +# Local deploy wrapper — copy to run-deploy-from-local.sh and replace +# with the SSH host alias from your ~/.ssh/config that points to the Crewli VPS. + +ssh "sudo -u crewli bash -c ' + export PATH=\"\$HOME/.local/share/fnm:\$PATH\" + eval \"\$(fnm env)\" + cd /home/crewli/crewli && ./deploy.sh +'"