ekzyis/deploy.sh
ekzyis 1d3d294b05 Add Makefile
Files are now only built when their source changed.
2023-08-19 02:15:18 +02:00

12 lines
239 B
Bash

#!/usr/bin/env bash
set -e
ENV=production make -B
rsync -avh public/ ekzyis.com:/var/www/ekzyis --delete --dry-run
echo
read -p "Continue deploy? [yn] " yn
echo
[ "$yn" == "y" ] && rsync -avh public/ ekzyis.com:/var/www/ekzyis --delete