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 +'"