diff --git a/.github/workflows/be-cd-dev.yml b/.github/workflows/be-cd-dev.yml index 230223c36..46fa836d0 100644 --- a/.github/workflows/be-cd-dev.yml +++ b/.github/workflows/be-cd-dev.yml @@ -61,8 +61,8 @@ jobs: - name: Kill previous application run: | PID=$(lsof -t -i:8080) - - if [ -n "$PID" ]; then + + if [ -n "${PID}" ]; then echo "Killing process $PID running on port 8080" kill -9 $PID echo "Process $PID has been killed"