Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix status

Acho Arnoldaa8bb70af986
diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml
index 1c433c64..beb99182 100644
--- a/.github/workflows/api.yml
+++ b/.github/workflows/api.yml
@@ -101,7 +101,8 @@ jobs:
echo "Polling Cloud Build Status..."
while true; do
STATUS=$(gcloud builds describe "$BUILD_ID" --region=global --project=httpsms-86c51 --format="value(status)")
- echo -e " \033[90m$(date -u '+%Y-%m-%d %H:%M:%S UTC')\033[0m status=\"$STATUS\""
+ LOCAL_TIME=$(date -u '+%Y-%m-%d %H:%M:%S UTC')
+ echo -e " \033[90m${LOCAL_TIME}\033[0m status=\033[36m${STATUS}\033[0m"
case "$STATUS" in
SUCCESS) echo -e "\033[32mBuild succeeded!\033[0m"; exit 0 ;;
FAILURE|TIMEOUT|CANCELLED|EXPIRED|INTERNAL_ERROR) echo -e "\033[31mBuild failed with status: $STATUS\033[0m"; exit 1 ;;