Skip to content

Commit

Permalink
Add two actions.
Browse files Browse the repository at this point in the history
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
  • Loading branch information
bgravenorst committed Aug 27, 2024
1 parent f4418e5 commit 6b412c0
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

jobs:
linkCheckMdx:
name: Run link check on MDX
name: Run link check on mdx files
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -21,7 +21,7 @@
MODIFIED_FILES_ONLY: no
linkCheckMd:
needs: linkCheckMdx
name: Run link check on MD
name: Run link check on md files
if: always()
runs-on: ubuntu-latest
permissions:
Expand All @@ -32,4 +32,18 @@
uses: ConsenSys/docs-gha/linkcheck@main
with:
FILE_EXTENSION: md
MODIFIED_FILES_ONLY: no
MODIFIED_FILES_ONLY: no
slackNotification:
needs: [linkCheckMdx, linkCheckMd]
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: doc-ci-alerts
SLACK_COLOR: danger
SLACK_USERNAME: ci
SLACK_TITLE: Infura docs nightly build - Failure
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
MSG_MINIMAL: true

0 comments on commit 6b412c0

Please sign in to comment.