Add Discord

This commit is contained in:
Tyrrrz
2021-07-26 19:30:45 +03:00
parent f0cbc46df4
commit 4508f5e211
3 changed files with 12 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: 💬 Discord server
url: https://discord.gg/2SUWKFnHSm
about: Chat with the project community.
- name: 🗨 Discussions
url: https://github.com/Tyrrrz/CliFx/discussions/new
about: Ask and answer questions.

View File

@@ -23,3 +23,9 @@ jobs:
- name: Deploy
run: dotnet nuget push CliFx/bin/Release/*.nupkg -s nuget.org -k ${{ secrets.NUGET_TOKEN }}
- name: Notify Discord
run: |
curl '${{ secrets.DISCORD_WEBHOOK }}' \
--data-raw '{"content":"[**CliFx** ver. ${{ github.ref }} released](https://github.com/Tyrrrz/CliFx/releases/latest)"}' \
-H 'content-type: application/json'