mirror of
https://github.com/bitnami/charts.git
synced 2026-02-19 19:47:22 +08:00
[actions] Skip output in Gchat notification (#31397)
Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
This commit is contained in:
2
.github/workflows/gchat-notification.yml
vendored
2
.github/workflows/gchat-notification.yml
vendored
@@ -39,4 +39,4 @@ jobs:
|
||||
# Use curl to send the JSON to Google.
|
||||
escapedText=$(sed -e 's/\n/\\n/g' -e 's/"/\\"/g' -e "s/'/\\'/g" "${tmp_file}")
|
||||
json="{\"text\": \"$escapedText\"}"
|
||||
curl -X POST -H 'Content-Type: application/json' -d "$json" "${GCHAT_WEBHOOK_URL}"
|
||||
curl -o /tmp/out -s --fail -X POST -H 'Content-Type: application/json' -d "$json" "${GCHAT_WEBHOOK_URL}"
|
||||
|
||||
Reference in New Issue
Block a user