From 4508f5e21149eae2cca389c8f45e1816e9a68edc Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Mon, 26 Jul 2021 19:30:45 +0300 Subject: [PATCH] Add Discord --- .github/ISSUE_TEMPLATE/config.yml | 3 +++ .github/workflows/CD.yml | 6 ++++++ Readme.md | 3 +++ 3 files changed, 12 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index d7ef0b5..4750f56 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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. \ No newline at end of file diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 8c370ad..61b1f58 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -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' \ No newline at end of file diff --git a/Readme.md b/Readme.md index f8b17e2..589de43 100644 --- a/Readme.md +++ b/Readme.md @@ -4,6 +4,7 @@ [![Coverage](https://codecov.io/gh/Tyrrrz/CliFx/branch/master/graph/badge.svg)](https://codecov.io/gh/Tyrrrz/CliFx) [![Version](https://img.shields.io/nuget/v/CliFx.svg)](https://nuget.org/packages/CliFx) [![Downloads](https://img.shields.io/nuget/dt/CliFx.svg)](https://nuget.org/packages/CliFx) +[![Discord](https://img.shields.io/discord/869237470565392384?label=discord)](https://discord.gg/2SUWKFnHSm) [![Donate](https://img.shields.io/badge/donate-$$$-purple.svg)](https://tyrrrz.me/donate) ✅ **Project status: active**. @@ -11,6 +12,8 @@ CliFx is a simple to use, yet powerful framework for building command line applications. Its primary goal is to completely take over the user input layer, allowing you to forget about infrastructural concerns and instead focus on writing your application. +💬 **If you want to chat, join my [Discord server](https://discord.gg/2SUWKFnHSm)**. + ## Download - [NuGet](https://nuget.org/packages/CliFx): `dotnet add package CliFx`