From 8c73553d8c16de1681552c41636857e3b564e09b Mon Sep 17 00:00:00 2001 From: Silent <46107752+TheSilentPro@users.noreply.github.com> Date: Fri, 18 Mar 2022 17:08:05 +0100 Subject: [PATCH] Create discord.yml --- .github/workflows/discord.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/discord.yml diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 0000000..afb4d5a --- /dev/null +++ b/.github/workflows/discord.yml @@ -0,0 +1,26 @@ +name: Discord Webhook + +on: [push] + +jobs: + report-status: + + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2.3.4 + + - name: Set up Java JDK 16 + uses: actions/setup-java@v2.1.0 + with: + distribution: 'adopt' + java-version: '16' + java-package: jdk + architecture: x64 + + - name: Dispatch Discord Webhook + uses: baked-libs/discord-webhook@1.5.1 + with: + id: ${{ secrets.DISCORD_WEBHOOK_ID }} + token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}