-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workflows): comment content of notify.yml
- Loading branch information
1 parent
57b7ee5
commit 784ce73
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}/) 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 }}/) 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" |