Skip to content

Commit

Permalink
Standardise nightly (#698)
Browse files Browse the repository at this point in the history
* Standardise nightly action.

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>

* Minor update.

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>

---------

Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
  • Loading branch information
bgravenorst authored Aug 25, 2024
1 parent d88625e commit f541dbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 79 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/link-check.json

This file was deleted.

17 changes: 8 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,20 @@
linkCheck:
name: Run link check
runs-on: ubuntu-latest
strategy:
matrix:
file-extensions: [".md", ".mdx"]
check-modified-files-only: [no]
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: LinkCheck
id: linkcheck
uses: gaurav-nelson/github-action-markdown-link-check@v1
uses: ConsenSys/docs-gha/linkcheck@main
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
folder-path: './docs'
check-modified-files-only: 'no'
base-branch: main
config-file: './.github/workflows/link-check.json'

FILE_EXTENSION: ${{ matrix.file-extensions }}
MODIFIED_FILES_ONLY: ${{ matrix.check-modified-files-only }}

slackNotification:
needs: linkCheck
if: ${{ failure() }}
Expand Down

0 comments on commit f541dbc

Please sign in to comment.