omfg the ci
Some checks failed
Deploy website on production server when committing on main / test (push) Failing after 8s

This commit is contained in:
2026-02-01 19:11:20 +01:00
parent 50cd2ae16f
commit 94469a598b

View File

@@ -3,6 +3,7 @@ set -e
# Check if version is already provided # Check if version is already provided
if [ -z "${APP_VERSION}" ]; then if [ -z "${APP_VERSION}" ]; then
if [ -t 0 ]; then # Interactive: prompt user
# Get version from user # Get version from user
read -p "Version [latest]: " VERSIONINPUT read -p "Version [latest]: " VERSIONINPUT
# If version was not provided, use the latest commit short hash as version # If version was not provided, use the latest commit short hash as version
@@ -11,6 +12,8 @@ if [ -z "${APP_VERSION}" ]; then
else else
APP_VERSION=${VERSIONINPUT} APP_VERSION=${VERSIONINPUT}
fi fi
else # Non-interactive (CI): default to "latest"
APP_VERSION="latest"
fi fi
# Get project commit id and URL # Get project commit id and URL