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 }}