Skip to content

Commit

Permalink
chore: try a different format
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Sep 14, 2023
1 parent 755c07a commit 2f96fa8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: ':large_green_circle: :dashboard-app: :tada: Dashboard-app ${{ steps.package-version.outputs.current-version}} released <https://github.com/dhis2/dashboard-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess>'
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 <https://github.com/dhis2/dashboard-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess|successful>"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 2f96fa8

Please sign in to comment.