diff --git a/.github/workflows/md-link-check.yml b/.github/workflows/md-link-check.yml index 2b9959d..8576600 100644 --- a/.github/workflows/md-link-check.yml +++ b/.github/workflows/md-link-check.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - main + - gh-pages jobs: markdown-link-check: @@ -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' diff --git a/.github/workflows/mlc_config.json b/.mlc_config.json similarity index 100% rename from .github/workflows/mlc_config.json rename to .mlc_config.json