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:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -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
|
||||
|
||||
8
run-deploy-from-local.example.sh
Normal file
8
run-deploy-from-local.example.sh
Normal 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
|
||||
'"
|
||||
Reference in New Issue
Block a user