Skip to content

Commit

Permalink
Try nesting the step?
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmo385 committed Dec 10, 2024
1 parent f15c7dd commit ba26753
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/code-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- run: uv sync
- run: .venv/bin/ruff check

notify-on-failure:
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Notify on build failure
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}
notify-on-failure:
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Notify on build failure
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}

0 comments on commit ba26753

Please sign in to comment.