geforkt von Mirrors/HeadDB
27 Zeilen
564 B
YAML
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 }}
|