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

15 lines
505 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
REMOTE_HOST="player@server2.shineup.me" \
REMOTE_UI_DIR="/home/player/SHiNE/shine-ui" \
EXPECTED_CADDY_UI_ROOT="/home/player/SHiNE/shine-ui" \
EXPECTED_CADDY_SITE="server2.shineup.me" \
DEPLOY_SERVER_LOGIN="server2shineupme" \
DEPLOY_SERVER_ADDRESS="server2.shineup.me" \
DEPLOY_SOLANA_CLUSTER="mainnet" \
DEPLOY_SOLANA_ENDPOINT="https://solana-rpc.publicnode.com" \
TARGET_URL="https://server2.shineup.me" \
REQUIRE_BACKUP="1" \
bash "$(dirname "$0")/deploy_ui.sh"