refactor: rename project from dgray.io to kashilo.com
This commit is contained in:
10
deploy.sh
10
deploy.sh
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
# deploy.sh - Deploy dgray.io to production server via rsync
|
||||
# deploy.sh - Deploy kashilo.com to production server via rsync
|
||||
#
|
||||
# Usage: ./deploy.sh [user@host] [remote-path]
|
||||
# Example: ./deploy.sh admin@dgray.io /home/admin/web/dgray.io/public_html
|
||||
# Example: ./deploy.sh admin@kashilo.com /home/admin/web/kashilo.com/public_html
|
||||
#
|
||||
# Prerequisites:
|
||||
# - SSH key authentication configured
|
||||
@@ -11,8 +11,8 @@
|
||||
set -e
|
||||
|
||||
# --- Configuration ---
|
||||
REMOTE_USER_HOST="${1:-admin@dgray.io}"
|
||||
REMOTE_PATH="${2:-/home/admin/web/dgray.io/public_html}"
|
||||
REMOTE_USER_HOST="${1:-admin@kashilo.com}"
|
||||
REMOTE_PATH="${2:-/home/admin/web/kashilo.com/public_html}"
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
DIST_DIR="$SCRIPT_DIR/dist"
|
||||
|
||||
@@ -22,7 +22,7 @@ python3 "$SCRIPT_DIR/build.py"
|
||||
echo ""
|
||||
|
||||
# --- Deploy from dist/ ---
|
||||
echo "Deploying dgray.io"
|
||||
echo "Deploying kashilo.com"
|
||||
echo " From: $DIST_DIR"
|
||||
echo " To: $REMOTE_USER_HOST:$REMOTE_PATH"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user