Skip to content

Commit 3cb9c58

Browse files
committed
Fix deploy
1 parent 3e604f7 commit 3cb9c58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy-example.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
rm -rf datex.zip
5050
- name: Run datex process in background
5151
run: |
52-
echo "Killing any existing datex processes..."
52+
echo "Killing any existing DATEX processes..."
5353
pids=$(ps -ef | grep '[d]atex' | awk '{print $2}')
5454
if [ -n "$pids" ]; then
5555
kill -9 $pids
@@ -58,12 +58,12 @@ jobs:
5858
echo "Cleaning up old logs..."
5959
[ -f ./datex.log ] && rm ./datex.log
6060
61-
echo "Starting datex in background..."
61+
echo "Starting DATEX in background..."
6262
nohup env RUNNER_TRACKING_ID="" ./datex-bin/datex repl -v --config example-config.dx > ./datex.log 2>&1 &
6363
6464
sleep 2
6565
pids=$(ps -ef | grep '[d]atex' | awk '{print $2}')
66-
if ![ -n "$pids" ]; then
67-
echo "❌ datex did not start. Check ./datex.log for details."
66+
if [ -z "$pids" ]; then
67+
echo "❌ DATEX did not start. Check ./datex.log for details."
6868
fi
69-
echo "✅ datex started with PID: $pids"
69+
echo "✅ DATEX started with PID: $pids"

0 commit comments

Comments
 (0)