From ae6d0e28a387a2637e259ca825bd6efb491a2865 Mon Sep 17 00:00:00 2001 From: Clemens Hering Date: Sun, 9 Nov 2025 17:56:30 +0100 Subject: [PATCH] test local clone --- .gitea/workflows/deploy.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7bc2cc0..17e9a37 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -67,10 +67,8 @@ jobs: - name: Build container on target host run: | - ssh $TARGET_USER@$TARGET_HOST ' - cd $APP_DIR - podman build -t $CONTAINER_NAME:latest . - ' + # Expand $APP_DIR locally so the remote shell receives the concrete path + ssh $TARGET_USER@$TARGET_HOST "set -euo pipefail; cd '$APP_DIR' && echo 'PWD:' \$(pwd) && ls -la . && podman build -t $CONTAINER_NAME:latest ." - name: Backup Quadlet file run: |