Skip to content

Merge pull request #466 from mattermost/publish-calls #227

Merge pull request #466 from mattermost/publish-calls

Merge pull request #466 from mattermost/publish-calls #227

name: notify-community-server
on:
push:
branches:
- production
paths:
- 'plugins.json'
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate webhook payload
shell: bash
run: |
.github/workflows/notify-mm-blog.sh
- name: Notify channel 1
uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a #v2.0.0
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL_1 }}
PAYLOAD: $(cat mattermost.json)
- name: Notify channel 2
uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a #v2.0.0
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL_2 }}
PAYLOAD: $(cat mattermost.json)