Skip to content

feat(gen): try print 404s #1367

feat(gen): try print 404s

feat(gen): try print 404s #1367

name: Check Markdown links
on: push
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Check for 404s in modified files
id: check_404_in_modified_files
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
base-branch: 'main'
use-quiet-mode: 'yes'
check-modified-files-only: 'yes'
file-extension: '.mdx'
config-file: '.link_checker_config.json'
- name: Write output to txt file
run: echo "{{ steps.check_404_in_modified_files.outputs.*}} >> 404_list.txt"
- name: Print content of txt file
run: |
echo "The following 404 have been detected:\n"

Check failure on line 27 in .github/workflows/markdown-link-checker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/markdown-link-checker.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
cat 404_list.txt