Skip to content

docs links on dqlite.io/docs #188

docs links on dqlite.io/docs

docs links on dqlite.io/docs #188

Workflow file for this run

name: docs links on dqlite.io/docs
on:
schedule:
- cron: "0 13 * * 1"
jobs:
check-links:
if: github.repository == 'canonical-web-and-design/dqlite.io'
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v3
- name: Install linkchecker
run: sudo pip install LinkChecker
- name: Run linkchecker
run: linkchecker --threads 2 --ignore-url "https://res.cloudinary.com" --ignore-url "https://www.gstatic.com" --ignore-url "https://assets.ubuntu.com$" --check-extern --no-warnings https://dqlite.io/docs
- name: Send message on failure
if: failure()
run: curl -X POST -F "workflow=${GITHUB_WORKFLOW}" -F "repo_name=${GITHUB_REPOSITORY}" -F "action_id=${GITHUB_RUN_ID}" ${{ secrets.BOT_URL }}?room=docs