Skip to content

Commit

Permalink
chore(workflows): comment content of notify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Jul 17, 2024
1 parent 57b7ee5 commit 784ce73
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Bots
on:
release:
types:
- published

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Mattermost message for release
run: |
echo "{\"text\": \"## OUDS Web ${{ github.event.release.tag_name }} :tada:\n[![${{ github.actor }}](https://github.com/${{ github.actor }}.png =10) **${{ github.actor }}**](https://github.com/${{ github.actor }}/) just released ${{ github.event.release.tag_name }}\n***\n[Changelog](${{ github.event.release.html_url }}) — [Download (zip)](${{ github.event.release.zipball_url }})\"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@2.0.0
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: "OUDS Web Release"
MATTERMOST_ICON: "https://github.com/Orange-OpenSource.png"
# name: Bots
# on:
# release:
# types:
# - published
#
#jobs:
# build:
# runs-on: ubuntu-latest
#
# steps:
# - name: Mattermost message for release
# run: |
# echo "{\"text\": \"## OUDS Web ${{ github.event.release.tag_name }} :tada:\n[![${{ github.actor }}](https://github.com/${{ github.actor }}.png =10) **${{ github.actor }}**](https://github.com/${{ github.actor }}/) just released ${{ github.event.release.tag_name }}\n***\n[Changelog](${{ github.event.release.html_url }}) — [Download (zip)](${{ github.event.release.zipball_url }})\"}" > mattermost.json
#
# - uses: mattermost/action-mattermost-notify@2.0.0
# env:
# MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
# MATTERMOST_USERNAME: "OUDS Web Release"
# MATTERMOST_ICON: "https://github.com/Orange-OpenSource.png"

0 comments on commit 784ce73

Please sign in to comment.