Im just trying to run circle ci with custom Slack notifications,
Like
version: '2.1'
orbs:
slack: circleci/slack@4.1
jobs:
notify:
docker:
- image: 'cimg/base:stable'
steps:
- slack/notify:
custom: |
{
"blocks": [
{
"type": "section",
"fields": [
{
"type": "plain_text",
"text": "*This is a text notification*",
"emoji": true
}
]
}
]
}
event: always
workflows:
send-notification:
jobs:
- notify:
context: slack-secrets
From offical docs example,
is there a way I can put a template in a seperate file and reference it?