Skip to content

Commit

Permalink
feat(CI): add Markdown link checker
Browse files Browse the repository at this point in the history
- Checks for dead links in Markdown files
- First run will check all files and then we will have a list of dead links
- Then we can set it up to only run on files added in the PR
- Fix links
  • Loading branch information
jbampton committed Dec 16, 2020
1 parent 7e6ecd0 commit aacc49e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/markdown-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 🏀 Markdown Link Check

on: [pull_request]

jobs:
markdown-link-check:
name: 🧹 Check Links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ visible: 'false'

These instructions assume you know how to set up DNS, port forwarding for your router, and how to add a new site in IIS.

1) Install Lucee [[https://lucee.org/downloads.html]]
1) Install Lucee [https://lucee.org/downloads.html](https://lucee.org/downloads.html)

2) Verify that Lucee is running (The internal IP of my Lucee server is 192.168.1.80, so I went to <http://192.168.1.80:8888> to view the Hello Lucee page, which verified a successful deployment)

Expand Down
31 changes: 31 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ignorePatterns": [
{
"pattern": "^http:\/\/127.0.0.1.*"
},
{
"pattern": "^http:\/\/localhost.*"
},
{
"pattern": "^http:\/\/yourdomain.*"
},
{
"pattern": "http:\\/\\/{hostname}.*"
},
{
"pattern": "https:\/\/cdn.lucee.org/{version-number}.*"
},
{
"pattern": "http:\/\/\\$host:\\$port"
},
{
"pattern": "http:\/\/mysite.com.*"
},
{
"pattern": "http:\/\/192.168.*"
},
{
"pattern": "http:\/\/www.servername.com.*"
}
]
}

0 comments on commit aacc49e

Please sign in to comment.