Skip to content

Commit

Permalink
feat: discord status post
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGinn <[email protected]>
  • Loading branch information
brian-intel committed Feb 6, 2024
1 parent 1b52f50 commit 5506932
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/discord-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,25 @@ on:
branches: [ "main" ]

jobs:
message:
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: rjstone/discord-webhook-notify@v1
with:
webhook-url: ${{ secrets.WEBHOOK_URL }}
content: "Test"
run_integration_tests:
runs-on: [self-hosted, linux, x64, integration, arc, 12gen]
steps:
- name: Cleanup repo build folder
run: |
ls -la ./
sudo rm -rf ./* || true
sudo rm -rf ./.??* || true
ls -la ./
- name: Checkout code
uses: actions/checkout@v3
- name: run integration tests
run: |
make build-dlstreamer
- name: success
if: success()
run: |
curl --location --request POST ${{DISCORD_INTEGRATION}} --header 'Content-Type: application/json' --data-raw '{"content": "sucess"}''
- name: failure
if: failure()
run: |
curl --location --request POST ${{DISCORD_INTEGRATION}} --header 'Content-Type: application/json' --data-raw '{"content": "failure"}''

0 comments on commit 5506932

Please sign in to comment.