Skip to content

docs: dsRAG integration (#1227) #4443

docs: dsRAG integration (#1227)

docs: dsRAG integration (#1227) #4443

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}}