From 760b58e08d98dbc7ed1143c6d844b38d5bc3dc3e Mon Sep 17 00:00:00 2001 From: pbao9 Date: Tue, 12 May 2026 14:51:25 +0700 Subject: [PATCH] chore: update deployment script with debug flags and working directory logging --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index efc3a13..95305b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,17 +20,20 @@ jobs: port: ${{ secrets.PORT }} script_stop: true script: | + set -ex + export PATH="$HOME/.phpenv/shims:$PATH" php -v - set -e - BRANCH="production" REPO_URL="${{ secrets.REPO_URL }}" cd httpdocs + pwd + ls -la + if [ ! -d ".git" ]; then echo "First deploy..."