From 2f96fa8bfd00457326f1da240aab3080ed6080f3 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Thu, 14 Sep 2023 14:54:41 +0200 Subject: [PATCH] chore: try a different format --- .github/workflows/dhis2-verify-app.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index ad4043958..f92633378 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -185,11 +185,26 @@ jobs: with: path: package.json + - name: echo the packagejson version + run: echo ${{ steps.package-version.outputs.current-version }} + - name: Send success message to analytics-internal-bot slack channel id: slack uses: slackapi/slack-github-action@v1.23.0 with: channel-id: ${{ secrets.SLACK_CHANNEL_ID }} - slack-message: ':large_green_circle: :dashboard-app: :tada: Dashboard-app ${{ steps.package-version.outputs.current-version}} released ' + payload: | + { + "text": ":large_green_circle: :dashboard-app: :tada: Dashboard app release succeeded for version: ${{ steps.package-version.outputs.current-version }}", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Build was " + } + } + ] + } env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}