#!/usr/bin/env bash set -euo pipefail # Use the public RPC gateway by default. An explicit DEPLOY_SOLANA_ENDPOINT # still overrides it. Never commit an Helius API key. DEPLOY_SOLANA_ENDPOINT="${DEPLOY_SOLANA_ENDPOINT:-https://test.shineup.me/solana-rpc}" REMOTE_HOST="player@t4.shineup.me" \ REMOTE_UI_DIR="/home/player/t4/UI" \ EXPECTED_CADDY_UI_ROOT="/home/player/t4/UI" \ EXPECTED_CADDY_SITE="test.shineup.me" \ DEPLOY_SERVER_LOGIN="test_server@shine" \ DEPLOY_SERVER_ADDRESS="test.shineup.me" \ DEPLOY_SOLANA_CLUSTER="devnet" \ DEPLOY_SOLANA_ENDPOINT="$DEPLOY_SOLANA_ENDPOINT" \ TARGET_URL="https://test.shineup.me" \ bash "$(dirname "$0")/deploy_ui.sh"