Skip to content

Commit

Permalink
Create link-checker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zachlasiuk authored Mar 27, 2024
1 parent e1c2257 commit 0ddd236
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: link-checker

# Controls when the workflow will run
on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
check-external-links:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11.3

- name: Check external HTML links
continue-on-error: true
run: |
pip install linkchecker
linkchecker --no-robots --check-extern https://www.arm.com/developer-hub/ecosystem-dashboard/servers-and-cloud-computing

0 comments on commit 0ddd236

Please sign in to comment.