Skip to content

Commit

Permalink
Merge pull request #118 from Mirasaki/dev
Browse files Browse the repository at this point in the history
ci(release): add new release notifier webhook for Discord
  • Loading branch information
Mirasaki authored Mar 7, 2023
2 parents 1189293 + 0cf7f3e commit 3a472fe
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,17 @@ jobs:
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

notify-finish:
needs: release
runs-on: ubuntu-latest
steps:
- name: Discord Webhook - Notify Finish Release
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.GH_RELEASE_WEBHOOK_URL }}
embed-author-name: "${{ github.repository }}"
embed-author-url: "${{ github.server_url }}/${{ github.repository }}"
embed-color: 45317
embed-description: "<@&975346074560634940>, a new version was just **released** - go check it out: [here](${{ github.server_url }}/${{ github.repository }}/releases/latest)"

0 comments on commit 3a472fe

Please sign in to comment.