Skip to content

Merge pull request #1357 from qdrant/update-config-v1.12.5 #4547

Merge pull request #1357 from qdrant/update-config-v1.12.5

Merge pull request #1357 from qdrant/update-config-v1.12.5 #4547

name: Links
on:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]
workflow_dispatch:
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.123.0"
- name: Install npm
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Run hugo
run: |
bash -x ./install-and-build.sh
CURRENT_DIR=$(pwd)
export PATH="${CURRENT_DIR}/dart-sass:${PATH}"
cd qdrant-landing && hugo --gc -b 'http://localhost:1313' && hugo serve &
sleep 5 # wait for server to start
- name: Internal Links Check
id: lychee
uses: lycheeverse/[email protected]
with:
args: --max-redirects 0 --exclude '.*' --include 'http://localhost:1313/.*' --base http://localhost:1313/ qdrant-landing/public/
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}