Skip to content

Commit

Permalink
Shell script experiment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zifah authored Aug 5, 2024
1 parent d1f6369 commit b389564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
sudo systemctl restart $SERVICE_NAME
sleep 3
STATUS=\$(sudo systemctl is-active $SERVICE_NAME)
echo "The service $SERVICE_NAME is currently \${STATUS}"
echo \"The service $SERVICE_NAME is currently \${STATUS}\"
if [ -z \$STATUS]; then
echo 'Service status is empty or not defined'
exit 1
Expand Down

0 comments on commit b389564

Please sign in to comment.