Skip to content

Commit

Permalink
chore: changes finish check
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsmyrnk committed Oct 27, 2024
1 parent 28ab9a6 commit 20c4c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-to-koyeb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ while (( $(date +%s) - start_time < $DEPLOY_CHECK_TIMEOUT_SECONDS )); do
service_data=$(curl -s $KOYEB_BASE_URL/services/$KOYEB_SERVICEID -H "Authorization: Bearer $KOYEB_TOKEN")
active_deployment=$(echo $service_data | jq '.service.active_deployment_id')
latest_deployment=$(echo $service_data | jq '.service.latest_deployment_id')
if [[ "$active_deployment" != "$latest_deployment" ]]; then
if [[ "$active_deployment" == "$latest_deployment" ]]; then
echo "Deploy succeeded"
deploy_succeeded=1
break
Expand Down

0 comments on commit 20c4c5f

Please sign in to comment.