Skip to content

Commit

Permalink
try repo root and remove main checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Mar 28, 2024
1 parent 0bacef0 commit 4904a84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/md-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- gh-pages

jobs:
markdown-link-check:
Expand All @@ -16,19 +16,11 @@ jobs:
with:
fetch-depth: 0

- name: Check gh-pages
if: github.ref == 'refs/heads/gh-pages'
- name: Check Links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/mlc_config.json'
config-file: '.mlc_config.json'
file-path: './README.md'
folder-path: '_docs/'

- name: Check main
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
file-path: './README.md'
File renamed without changes.

0 comments on commit 4904a84

Please sign in to comment.