From 905e7774f178328b0f67e109709dbbfbd776c9a2 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen <30383579+Adammatthiesen@users.noreply.github.com> Date: Fri, 10 May 2024 03:48:02 -0700 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d21d058..2ded378 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,12 +1,11 @@ -on: - workflow_dispatch: - +name: restartServer +on: [push] jobs: - comment: - runs-on: ubuntu-latest - steps: - - name: Invoke deployment hook - uses: distributhor/workflow-webhook@v2 - with: - webhook_url: https://discord.com/api/webhooks/1238439249515384852/kuNae6ZiohUV7GE0WQfi1VLNbRev-jnsnylpEAcFF_ftNoYx2TvxrfblJ-OAU0_8x_Op - data: '{\"content\": \"Hello From GH Actions!\"}' + check-bats-version: + runs-on: ubuntu-latest + steps: + - run: | + curl --location --request POST 'https://discord.com/api/webhooks/1238439249515384852/kuNae6ZiohUV7GE0WQfi1VLNbRev-jnsnylpEAcFF_ftNoYx2TvxrfblJ-OAU0_8x_Op' \ + --header 'Accept: application/json' \ + --header 'Content-Type: application/json' \ + --data '{\"content\": \"Hello From GH Actions!\"}'