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..."