diff --git a/template/deploy/sentry-slack-alert.sh b/template/deploy/sentry-slack-alert.sh index 85c0e63..7a4b428 100755 --- a/template/deploy/sentry-slack-alert.sh +++ b/template/deploy/sentry-slack-alert.sh @@ -19,7 +19,7 @@ AUTH="Authorization: Bearer $SENTRY_TOKEN" # The Slack action takes the channel's ID as well as its name; the # project's error detector is looked up by project id; a workflow is bound # to its detectors by PUT after creation. -SLACK_ID="${SENTRY_SLACK_INTEGRATION:-__SENTRY_SLACK_INTEGRATION__}" +SLACK_ID="${SENTRY_SLACK_INTEGRATION:-345334}" : "${SLACK_CHANNEL_ID:?SLACK_CHANNEL_ID=C... is required (the Slack ID of the channel)}" CHANNEL_ID="$SLACK_CHANNEL_ID" PROJECT_ID="${SENTRY_PROJECT_ID:-__SENTRY_PROJECT_ID__}"