Update distributed_deployment.md #4292
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |