Files
portal-auth-dashboard/deploy/deploy-from-pc.sh

9 lines
338 B
Bash
Executable File

#!/bin/bash
# Deploy from this PC via SSH: upload project with rsync, then setup/restart on server.
# Usage: ./deploy/deploy-from-pc.sh
# Requires: rsync, SSH access to root@10.110.60.210 (LXC has no Git access).
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$(dirname "$SCRIPT_DIR")"
exec "$SCRIPT_DIR/deploy.sh"