Files
SHiNE-server/deploy/scripts/test_t1_ui.sh
T

18 lines
644 B
Bash

#!/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://t1.shineup.me/solana-rpc}"
REMOTE_HOST="player@t1.shineup.me" \
REMOTE_UI_DIR="/home/player/t1/UI" \
EXPECTED_CADDY_UI_ROOT="/home/player/t1/UI" \
EXPECTED_CADDY_SITE="t1.shineup.me" \
DEPLOY_SERVER_LOGIN="server_t1" \
DEPLOY_SERVER_ADDRESS="t1.shineup.me" \
DEPLOY_SOLANA_CLUSTER="devnet" \
DEPLOY_SOLANA_ENDPOINT="$DEPLOY_SOLANA_ENDPOINT" \
TARGET_URL="https://t1.shineup.me" \
bash "$(dirname "$0")/deploy_ui.sh"