Skip to content

Commit

Permalink
fix(mattermost-notify): shell needed in composite actions
Browse files Browse the repository at this point in the history
DEVOPS-138
  • Loading branch information
remdub committed Jul 26, 2024
1 parent 10b8cf0 commit 53488e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mattermost-notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ runs:
steps:
- name: Install curl
run: sudo apt-get update && sudo apt-get install -y curl
shell: bash
- name : Send notification on Mattermost
run: |
curl -i --fail-with-body -X POST -H 'Content-Type: application/json' -d "{\"text\": \"${{ inputs.MESSAGE }} \"}" ${{ inputs.MATTERMOST_WEBHOOK_URL }}
Expand Down

0 comments on commit 53488e1

Please sign in to comment.