The turn pulse shake was targeting .discard-stack, which is an ancestor of #held-card-floating. A CSS transform on any ancestor breaks position:fixed, causing the held card to render far from the deck area. Now target #discard directly instead. Also fix duplicate getCardPointValue methods — the 3-arg scoring version shadowed the 1-arg tooltip version, leaving cardValues undefined on hover. Add staging deploy script (rsync working tree, no git pull needed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
630 B
Bash
Executable File
24 lines
630 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DROPLET="root@129.212.150.189"
|
|
REMOTE_DIR="/opt/golfgame"
|
|
|
|
echo "Syncing to staging ($DROPLET)..."
|
|
rsync -az --delete \
|
|
--exclude='.git' \
|
|
--exclude='__pycache__' \
|
|
--exclude='node_modules' \
|
|
--exclude='.env' \
|
|
--exclude='internal/' \
|
|
server/ "$DROPLET:$REMOTE_DIR/server/"
|
|
rsync -az --delete \
|
|
--exclude='.git' \
|
|
--exclude='__pycache__' \
|
|
--exclude='node_modules' \
|
|
client/ "$DROPLET:$REMOTE_DIR/client/"
|
|
|
|
echo "Rebuilding app container..."
|
|
ssh $DROPLET "cd $REMOTE_DIR && docker compose -f docker-compose.staging.yml up -d --build app"
|
|
echo "Staging deploy complete."
|