Skip to content

Commit

Permalink
chore: simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Feb 23, 2024
1 parent f4056d4 commit aadfef2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@ jobs:
discord:
name: Discord Failure Notification
needs: [build, lint, deploy_website]
if: always() # This is needed to always run this job, even if the other jobs fail.
if: failure()
runs-on: ubuntu-latest
steps:
- uses: technote-space/workflow-conclusion-action@v3
- if: env.WORKFLOW_CONCLUSION != 'success' && env.WORKFLOW_CONCLUSION != 'cancelled'
uses: sarisia/actions-status-discord@v1
- uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ env.WORKFLOW_CONCLUSION }}
status: failure
title: ""

# @template-customization-end
1 change: 0 additions & 1 deletion cspell.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
"svgr",
"svgwrite",
"tccm",
"technote",
"tobin",
"tocm",
"uncluable",
Expand Down

0 comments on commit aadfef2

Please sign in to comment.