From 60c6d86d19f8261627940a19d1198eb84617a57d Mon Sep 17 00:00:00 2001 From: Oleksandr Shuryha Date: Thu, 26 Mar 2026 19:24:02 +0100 Subject: [PATCH] Use DEPLOY_PATH variable and add mount visibility checks --- .gitea/workflows/redeploy-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/redeploy-compose.yml b/.gitea/workflows/redeploy-compose.yml index 0d0df36..080348e 100644 --- a/.gitea/workflows/redeploy-compose.yml +++ b/.gitea/workflows/redeploy-compose.yml @@ -9,7 +9,7 @@ jobs: redeploy: runs-on: ubuntu-latest env: - DEPLOY_PATH: ${{ secrets.DEPLOY_PATH }} + DEPLOY_PATH: ${{ vars.DEPLOY_PATH }} DEPLOY_BRANCH: main steps: - name: Validate deployment path @@ -17,7 +17,7 @@ jobs: run: | set -euo pipefail if [ -z "${DEPLOY_PATH:-}" ]; then - echo "Missing required secret: DEPLOY_PATH" + echo "Missing required variable: DEPLOY_PATH" exit 1 fi @@ -27,6 +27,8 @@ jobs: set -euo pipefail DEPLOY_PATH="$(printf '%s' "$DEPLOY_PATH" | tr -d '\r\n')" echo "Using DEPLOY_PATH=<$DEPLOY_PATH>" + echo "Mounted parent path check:" + ls -ld /home/alshuriga/web-apps || true ls -ld "$DEPLOY_PATH" cd "$DEPLOY_PATH" git fetch origin "$DEPLOY_BRANCH"