Skip to content

Commit

Permalink
chore: try out a successful release message
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Sep 7, 2023
1 parent b1b2d08 commit 3559cf4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,22 @@ jobs:

report-release-success:
runs-on: ubuntu-latest
needs: release
needs: test
if: |
success() &&
!cancelled() &&
github.ref == 'refs/heads/master'
!cancelled()
steps:
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
with:
path: package.json

- 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: :maps-app: :tada: Maps-app released <https://github.com/dhis2/maps-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess>'
slack-message: ':large_green_circle: :maps-app: :tada: Maps-app ${{ steps.package-version.outputs.current-version}} released <https://github.com/dhis2/maps-app/actions/workflows/dhis2-verify-app.yml?query=branch%3Amaster+is%3Asuccess>'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 3559cf4

Please sign in to comment.