Skip to content

Merge pull request #498 from chris48s/yaml-multidoc #130

Merge pull request #498 from chris48s/yaml-multidoc

Merge pull request #498 from chris48s/yaml-multidoc #130

Workflow file for this run

name: Build Docs
on: [push, pull_request]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node JS 22
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install
run: |
cd docs
npm ci --engine-strict --strict-peer-deps
- name: Build
run: |
cd docs
npm run build
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/build
clean: true