Skip to content

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

Fix status duisplay

Acho Arnolde463df4c1c2b
diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml
index 910babc7..1c433c64 100644
--- a/.github/workflows/api.yml
+++ b/.github/workflows/api.yml
@@ -101,7 +101,7 @@ jobs:
echo "Polling Cloud Build Status..."
while true; do
STATUS=$(gcloud builds describe "$BUILD_ID" --region=global --project=httpsms-86c51 --format="value(status)")
- echo " Status: $STATUS"
+ echo -e " \033[90m$(date -u '+%Y-%m-%d %H:%M:%S UTC')\033[0m status=\"$STATUS\""
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 ;;