From db90e7046ae02135ca476cabc2bf37cd123be7a8 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Thu, 5 Aug 2021 23:01:18 -0700 Subject: [PATCH] add discord announcement when a new release goes out --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03b7689cd..e4fb70007 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,3 +34,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Send a Discord notification if a publish happens + #if: steps.changesets.outputs.published == 'true' + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + uses: Ilshidur/action-discord@0.3.2 + with: + args: '🚀 A new release just went out!\nCheck it out: https://github.com/snowpackjs/astro/releases' \ No newline at end of file