Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Mar 22, 2024
1 parent 13beb7c commit 008f9a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __scripts/bc-deploy-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sudo systemctl status bookcars --no-pager

finish_time=$(date +%s)
elapsed_time=$((finish_time - start_time))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60, hrs=elapsed_time/60))
timestamp=$(printf "BookCars API deployed in %d minutes and %d seconds." $min $sec)
echo $timestamp

Expand Down
2 changes: 1 addition & 1 deletion __scripts/bc-deploy-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sudo systemctl status nginx --no-pager

finish_time=$(date +%s)
elapsed_time=$((finish_time - start_time))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60, hrs=elapsed_time/60))
timestamp=$(printf "BookCars backend deployed in %d minutes and %d seconds." $min $sec)
echo $timestamp

Expand Down
2 changes: 1 addition & 1 deletion __scripts/bc-deploy-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sudo systemctl status nginx --no-pager

finish_time=$(date +%s)
elapsed_time=$((finish_time - start_time))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60))
((sec=elapsed_time%60, elapsed_time/=60, min=elapsed_time%60, hrs=elapsed_time/60))
timestamp=$(printf "BookCars frontend deployed in %d minutes and %d seconds." $min $sec)
echo $timestamp

Expand Down

0 comments on commit 008f9a8

Please sign in to comment.