HeadDB/.github/workflows/discord.yml
2022-03-18 17:08:05 +01:00

27 Zeilen
564 B
YAML

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