chore: update deployment script with debug flags and working directory logging
This commit is contained in:
@@ -20,17 +20,20 @@ jobs:
|
|||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script_stop: true
|
script_stop: true
|
||||||
script: |
|
script: |
|
||||||
|
set -ex
|
||||||
|
|
||||||
export PATH="$HOME/.phpenv/shims:$PATH"
|
export PATH="$HOME/.phpenv/shims:$PATH"
|
||||||
|
|
||||||
php -v
|
php -v
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
BRANCH="production"
|
BRANCH="production"
|
||||||
REPO_URL="${{ secrets.REPO_URL }}"
|
REPO_URL="${{ secrets.REPO_URL }}"
|
||||||
|
|
||||||
cd httpdocs
|
cd httpdocs
|
||||||
|
|
||||||
|
pwd
|
||||||
|
ls -la
|
||||||
|
|
||||||
if [ ! -d ".git" ]; then
|
if [ ! -d ".git" ]; then
|
||||||
echo "First deploy..."
|
echo "First deploy..."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user