diff --git a/deploy-host.sh b/deploy-host.sh new file mode 100644 index 0000000..30da6d6 --- /dev/null +++ b/deploy-host.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +PROJECT=/home/bellsystems/bellsystems-cp + +echo "Deploy started at $(date)" +cd "$PROJECT" +git fetch origin main +git reset --hard origin/main +docker compose up -d --build +echo "Deploy finished at $(date)"