Files
hantim-server/scripts/deploy-dispatch.sh
T
timothykim a3fb085fdb
Deploy nginx / deploy (push) Failing after 1s
Deploy timothykim.net / deploy (push) Failing after 1s
initial commit
2026-03-12 21:16:59 -04:00

13 lines
330 B
Bash

#!/bin/bash
set -euo pipefail
case "$SSH_ORIGINAL_COMMAND" in
deploy-nginx) /opt/scripts/deploy-nginx.sh ;;
deploy-timothykim) /opt/scripts/deploy-timothykim.sh ;;
*)
echo "Unknown command: $SSH_ORIGINAL_COMMAND"
echo "Available: deploy-nginx, deploy-timothykim"
exit 1
;;
esac