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"