-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from Mirasaki/dev
ci(release): add new release notifier webhook for Discord
- Loading branch information
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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)" |