Skip to content

Commit

Permalink
deploy: add update env args
Browse files Browse the repository at this point in the history
  • Loading branch information
rosendolu committed Apr 14, 2024
1 parent d0f1838 commit 8b8969d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pm2 pid $PM2_PROCESS_NAME &>/dev/null
if [ $? -eq 0 ]; then
# If the process exists, reload it
echo "Reloading PM2 process: $PM2_PROCESS_NAME"
pm2 reload $PM2_PROCESS_NAME
pm2 reload $PM2_PROCESS_NAME --update-env
else
# If the process doesn't exist, start it
echo "Starting PM2 process: $PM2_PROCESS_NAME"
Expand Down

0 comments on commit 8b8969d

Please sign in to comment.