20 lines
669 B
Bash
20 lines
669 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Deprecated legacy static frontend deploy shim.
|
|
# The canonical deployment path is the Next.js standalone frontend.
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
CANONICAL_SCRIPT="$REPO_ROOT/scripts/deploy-next-frontend-to-vmid5000.sh"
|
|
|
|
echo "This script is deprecated."
|
|
echo "The legacy static SPA deployment path is no longer supported as a primary deploy target."
|
|
echo ""
|
|
echo "Use the canonical Next.js frontend deploy instead:"
|
|
echo " bash $CANONICAL_SCRIPT"
|
|
echo ""
|
|
echo "The static compatibility assets remain in-repo for fallback/reference purposes only."
|
|
exit 1
|