Skip to content

Commit

Permalink
feat(ci): send mastodon status on release
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrgm authored and github-actions[bot] committed Mar 31, 2024
1 parent a45f746 commit 9c14c67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .anvil.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"generated_at": "2024-03-30T10:20:05.532401645Z",
"generated_at": "2024-03-31T17:06:34.66091133Z",
"version": "1.2.12",
"files": [
{
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
notify-on-release:
runs-on: ubuntu-latest
steps:
- name: Send Telegram Notification on New Release
- name: Send Telegram Notification on new release
uses: cbrgm/telegram-github-action@v1
with:
token: ${{ secrets.TELEGRAM_TOKEN }}
Expand All @@ -21,4 +21,16 @@ jobs:
Actor: ${{ github.actor }}
Repository: ${{ github.repository }}
Check it out: ${{ github.event.release.html_url }}
- name: Send Mastodon Status on new release
id: mastodon
uses: cbrgm/mastodon-github-action@v2
if: ${{ !github.event.repository.private }}
with:
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
url: ${{ secrets.MASTODON_URL }}
language: "en"
message: |
🚀 ${{ github.repository }} ${{ github.event.release.name }} published!
Check it out: ${{ github.event.release.html_url }}
...

0 comments on commit 9c14c67

Please sign in to comment.