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!\"}'