Skip to content

Pr/michi/single operator image #282

Pr/michi/single operator image

Pr/michi/single operator image #282

Workflow file for this run

name: Check docs links
on:
pull_request:
paths:
- 'docs/content/**.md'
- '.github/workflows/check-links-pr.yaml'
jobs:
links-checker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: '0.111.2'
extended: true
- name: Serve the Hugo website
working-directory: docs
run: hugo server &
- name: Wait for server to be ready
uses: nick-invision/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd # v2.8.3
with:
timeout_seconds: 2
max_attempts: 10
retry_wait_seconds: 3
command: |
set -e
curl -s http://localhost:1313 > /dev/null
- name: Links Checker
id: lychee
uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 # v1.8.0
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --base http://localhost:1313 --exclude cilium.herokuapp.com docs/content
fail: true
format: json