From 54c8ef3431ec91838bcdd2c05786e92a2870baec Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Fri, 9 Feb 2024 15:36:57 +0100 Subject: [PATCH] require branch name also in hetzner_cloud/install.sh --- deployment/hetzner_cloud/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deployment/hetzner_cloud/install.sh b/deployment/hetzner_cloud/install.sh index e9ed69e76..06b92ecaf 100755 --- a/deployment/hetzner_cloud/install.sh +++ b/deployment/hetzner_cloud/install.sh @@ -1,4 +1,9 @@ #!/bin/bash +# check for parameter +if [ -z "$1" ]; then + echo "Usage: Please provide a branch name as the first argument." + exit 1 +fi # Note: This is needed - since there is Summer-Time included in the default server Setup - UTC is REQUIRED for production data timedatectl set-timezone UTC