
One Line to Never Ship a Broken Link Again
Every developer has shipped a broken link. A renamed page, a removed blog post, an external service that went down. Users find them before you do, and the experience erodes trust silently. I built a solution you can add to any CI/CD pipeline in literally one line. The One-Liner Add this to your GitHub Actions workflow: - name : Check for broken links run : curl -sSL https://51-68-119-197.sslip.io/tools/check-links.sh | bash -s -- --threshold 0 https://yoursite.com That's it. Your builds now fail if any broken links exist on your site. What Happens Under the Hood The script: Downloads a lightweight bash wrapper (no dependencies beyond curl and python3) Calls a dead link checker API in quick mode (sub-second, single page scan) Auto-detects GitHub Actions and outputs native ::error:: and ::warning:: annotations Checks the response against your threshold and sets the exit code You get annotations that appear directly on your pull request — no log diving required. Why Not Just Use an Existi
Continue reading on Dev.to DevOps
Opens in a new tab




