Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
oarbusi committed Mar 21, 2024
1 parent f1cfc97 commit 7029f54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/generate-slack-notification-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi
if [ "$1" == "success" ]; then
text_value="HashiCorp Terraform Compatibility Matrix succeeded!"

json="{
json=("{
\"text\": \"$text_value\",
\"blocks\": [
{
Expand All @@ -41,13 +41,13 @@ if [ "$1" == "success" ]; then
}
}
]
}"
}")
else
text_value="HashiCorp Terraform Compatibility Matrix failed!"
server_url=$2
repository=$3
run_id=$4
json="{
json=("{
\"text\": \"$text_value\",
\"blocks\": [
{
Expand All @@ -71,7 +71,7 @@ else
]
}
]
}"
}")
fi

echo "$json"

0 comments on commit 7029f54

Please sign in to comment.