Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Merge pull request #50 from okd-project/zed/cicd-deploy-fix #45

Merge pull request #50 from okd-project/zed/cicd-deploy-fix

Merge pull request #50 from okd-project/zed/cicd-deploy-fix #45

Workflow file for this run

name: Publish
on:
push:
branches: [ main ]
workflow_dispatch:
env:
TITLE: OKD.io
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install dependencies (Python)
run: pip install -r requirements.txt --break-system-packages
- name: Install dependencies (Node)
run: npm ci
- name: Spellcheck
run: ./node_modules/.bin/cspell "docs/**/*.md"
- name: Build the site
run: mkdocs gh-deploy --strict --force --clean --verbose -d public
- name: Upload built site
uses: actions/upload-artifact@v4
with:
name: okd.io
path: public/
if-no-files-found: error
- name: Log any discovered broken links
run: linkchecker -f linkcheckerrc public || true