From 5d758293c3215bbbaec8fed947089a429d4c16c7 Mon Sep 17 00:00:00 2001 From: bonamin Date: Fri, 27 Feb 2026 06:00:12 +0200 Subject: [PATCH] fix: trying to fix auto-pulls 22 ! --- deploy-host.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deploy-host.sh 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)"