From 8de68da1d315512cc56ef5a8b5d22128f1401111 Mon Sep 17 00:00:00 2001 From: Per Magnus Petersen Date: Tue, 8 Sep 2026 19:57:57 +0200 Subject: [PATCH] Target apps not app --- deploy-citadel.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy-citadel.sh b/deploy-citadel.sh index 350e2c9..2765fed 100755 --- a/deploy-citadel.sh +++ b/deploy-citadel.sh @@ -2,7 +2,7 @@ set -euo pipefail HOST="${ELPRICE_DEPLOY_HOST:-citadel}" -APP_DIR="${ELPRICE_DEPLOY_DIR:-/home/pmp/app/elprice}" +APP_DIR="${ELPRICE_DEPLOY_DIR:-/home/pmp/apps/elprice}" IMAGE_NAME="${ELPRICE_IMAGE_NAME:-$(basename "$APP_DIR")-app:latest}" PLATFORM="${ELPRICE_PLATFORM:-}" FILES=(docker-compose.yml .env .token) @@ -10,13 +10,13 @@ FILES=(docker-compose.yml .env .token) if [[ -z "$PLATFORM" ]]; then remote_arch="$(ssh "$HOST" uname -m)" case "$remote_arch" in - x86_64|amd64) PLATFORM="linux/amd64" ;; - aarch64|arm64) PLATFORM="linux/arm64" ;; - *) - echo "Unsupported target architecture: $remote_arch" >&2 - echo "Set ELPRICE_PLATFORM manually, e.g. ELPRICE_PLATFORM=linux/amd64" >&2 - exit 1 - ;; + x86_64 | amd64) PLATFORM="linux/amd64" ;; + aarch64 | arm64) PLATFORM="linux/arm64" ;; + *) + echo "Unsupported target architecture: $remote_arch" >&2 + echo "Set ELPRICE_PLATFORM manually, e.g. ELPRICE_PLATFORM=linux/amd64" >&2 + exit 1 + ;; esac fi