Files

10 lines
299 B
Bash

#!/usr/bin/env bash
# deploy.sh — run on hal-blackpearl. Pulls latest and (re)builds the Docker container.
set -e
cd "$(dirname "$0")"
git fetch origin
git reset --hard origin/main
docker compose up -d --build
docker image prune -f >/dev/null
echo "Deployed. Logs: docker logs -f newbury-exhibit"