chore: update deployment script with debug flags and working directory logging

This commit is contained in:
pbao9
2026-05-12 14:51:25 +07:00
parent 917ae142c9
commit 760b58e08d
+5 -2
View File
@@ -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..."