diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml new file mode 100644 index 000000000..e03d61ed4 --- /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 11 + uses: actions/setup-java@v2.1.0 + with: + distribution: 'adopt' + java-version: '11' + java-package: jdk + architecture: x64 + + - name: Run Discord Webhook + uses: baked-libs/discord-webhook@main + with: + id: ${{ secrets.DEV_DISCORD_WEBHOOK_ID }} + token: ${{ secrets.DEV_DISCORD_WEBHOOK_TOKEN }}