From f187cad512ad0780d0fef15abd86b60ffb04a1b5 Mon Sep 17 00:00:00 2001 From: paige <88659700+paishee@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:59:33 -0500 Subject: [PATCH] Create webhook.yml --- .github/workflows/webhook.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/webhook.yml diff --git a/.github/workflows/webhook.yml b/.github/workflows/webhook.yml new file mode 100644 index 0000000..083a4a4 --- /dev/null +++ b/.github/workflows/webhook.yml @@ -0,0 +1,24 @@ +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.WebhookId }} + token: ${{ secrets.WebhookToken }}