diff --git a/.anvil.lock b/.anvil.lock index 027ebdc..986f43c 100644 --- a/.anvil.lock +++ b/.anvil.lock @@ -1,5 +1,5 @@ { - "generated_at": "2024-03-30T10:18:45.646257943Z", + "generated_at": "2024-03-31T17:05:27.545413371Z", "version": "1.2.12", "files": [ { diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml index 78fa5fc..8b1ebe3 100644 --- a/.github/workflows/notify.yml +++ b/.github/workflows/notify.yml @@ -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 }} @@ -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 }} ...