Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-weaver committed Jul 2, 2024
1 parent c7e12d8 commit e38107d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/broken-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
jobSummary: true
args: --no-progress --accept '200..=299, 401, 405' .
- name: "Send Slack alert"
if: ${{ env.lychee_exit_code }} != 0
if: env.lychee_exit_code != 0
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: "https://hooks.slack.com/triggers/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" # TODO: set as env var?
Expand All @@ -28,5 +28,5 @@ jobs:
"Details": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
- name: "Fail workflow"
if: ${{ env.lychee_exit_code }} != 0
if: env.lychee_exit_code != 0
run: exit ${{ env.lychee_exit_code }}

0 comments on commit e38107d

Please sign in to comment.