chore: update deployment script with debug flags and working directory logging
This commit is contained in:
@@ -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..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user