Skip to content

feat: Discord issues webhook #5

feat: Discord issues webhook

feat: Discord issues webhook #5

Workflow file for this run

name: "Discord-Issues"
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
jobs:
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: |

Check failure on line 27 in .github/workflows/discord-issues.yaml

View workflow run for this annotation

GitHub Actions / Discord-Issues

Invalid workflow file

The workflow is not valid. .github/workflows/discord-issues.yaml (Line: 27, Col: 18): Unrecognized named-value: 'DISCORD_INTEGRATION'. Located at position 1 within expression: DISCORD_INTEGRATION .github/workflows/discord-issues.yaml (Line: 31, Col: 18): Unrecognized named-value: 'DISCORD_INTEGRATION'. Located at position 1 within expression: DISCORD_INTEGRATION
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"}''