From d0f42abd433148719243e3b156c049e6f2cdaac4 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Sat, 1 Apr 2023 16:33:03 -0700 Subject: [PATCH] chore: Also post releases to Mastodon (#152) * chore: Also post releases to Mastodon * Remove tgz file --- .github/workflows/release-please.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2286890..8fce6be 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -34,3 +34,8 @@ jobs: TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }} TWITTER_ACCESS_TOKEN_KEY: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }} TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} + - run: 'npx @humanwhocodes/toot "generator-eslint ${{ steps.release.outputs.tag_name }} has been released: ${{ steps.release.outputs.html_url }}"' + if: ${{ steps.release.outputs.release_created }} + env: + MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} + MASTODON_HOST: ${{ secrets.MASTODON_HOST }}