From 10d0fd0c989df6d3dae45457a64a42f7e06ea64d Mon Sep 17 00:00:00 2001 From: Clemens Hering Date: Mon, 10 Nov 2025 19:06:44 +0100 Subject: [PATCH] added deployment check --- .gitea/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ae15017..3ffe754 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -75,14 +75,14 @@ jobs: - name: Build container on target host run: | # Expand $APP_DIR locally so the remote shell receives the concrete path - ssh $TARGET_USER@$TARGET_HOST "set -euo pipefail; echo -e '$APP_DIR \n\n' cd '$APP_DIR' && echo 'PWD:' \$(pwd) && ls -la . && podman build -t $CONTAINER_NAME:latest ." + ssh $TARGET_USER@$TARGET_HOST "set -euo pipefail; echo -e '$APP_DIR \n\n'; cd '$APP_DIR' && echo 'PWD:' \$(pwd) && ls -la . && podman build -t $CONTAINER_NAME:latest ." - name: Backup Quadlet file run: | - ssh $TARGET_USER@$TARGET_HOST ' + ssh $TARGET_USER@$TARGET_HOST " test -f ~/.config/containers/systemd/$CONTAINER_NAME.container && \ cp ~/.config/containers/systemd/$CONTAINER_NAME.container ~/.config/containers/systemd/$CONTAINER_NAME.container.bak || true - ' + " - name: Replace Quadlet file run: |