From 591c749d72217886cdfd64bd1ea6f4532e5b33df Mon Sep 17 00:00:00 2001 From: Adam Millerchip Date: Sat, 17 Oct 2020 20:04:28 +0900 Subject: [PATCH] Try to stop org registry inlining the example json --- slack-webhook-orb.yml | 60 +++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/slack-webhook-orb.yml b/slack-webhook-orb.yml index 4da69df..823cfa4 100644 --- a/slack-webhook-orb.yml +++ b/slack-webhook-orb.yml @@ -69,17 +69,17 @@ examples: - slack-webhook/send-message: webhook-url: https://hooks.slack.com/... json-payload: | - { - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + { + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + } } - } - ] - } + ] + } environment-variable: description: | Provide the webhook URL in the SLACK_WEBHOOK environment variable on CircleCI. @@ -98,17 +98,17 @@ examples: steps: - slack-webhook/send-message: json-payload: | - { - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + { + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + } } - } - ] - } + ] + } custom-environment-variable: description: | Supply the webhook URL in a custom environment variable configured on CircleCI, @@ -129,14 +129,14 @@ examples: - slack-webhook/send-message: webhook-url-env-var: CUSTOM_SLACK_WEBHOOK_VARIABLE json-payload: | - { - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + { + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Hello from 's `slack-webhook` CircleCi orb! 👋" + } } - } - ] - } + ] + }