Move deploy broadcast to the saas gem

This commit is contained in:
Mike Dalessio
2025-12-17 12:46:00 -05:00
parent a196715968
commit 605f4ed2a4
3 changed files with 6 additions and 5 deletions
-3
View File
@@ -1,3 +0,0 @@
#!/usr/bin/env bash
curl -s -d content="[Fizzy] ${1}" https://3.basecamp.com/2914079/integrations/5c3a7bd149c975b95312253c/buckets/4896644/chats/676031034/lines
+2 -2
View File
@@ -11,7 +11,7 @@ if [[ $CURRENT_BRANCH == "main" && $KAMAL_DESTINATION == "production" ]]; then
RELEASE_URL=$(gh release view $KAMAL_SERVICE_VERSION --json url,body --jq .url)
RELEASE_BODY=$(gh release view $KAMAL_SERVICE_VERSION --json url,body --jq .body)
bin/broadcast_to_bc "$MESSAGE "$'\n'"$RELEASE_URL "$'\n'"$RELEASE_BODY"
saas/bin/broadcast_to_bc "$MESSAGE "$'\n'"$RELEASE_URL "$'\n'"$RELEASE_BODY"
else
bin/broadcast_to_bc "$MESSAGE"
saas/bin/broadcast_to_bc "$MESSAGE"
fi
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
url=$(op read "op://Deploy/Deploy Chatbot/url" --account Basecamp)
curl -s -d content="[Fizzy] ${1}" "${url}"