Skip to content

docs: ensure nodejs setup works #2

docs: ensure nodejs setup works

docs: ensure nodejs setup works #2

Workflow file for this run

name: Contextive Docs
on:
push:
paths:
- 'docs/web'
- '.github/workflows/contextive-docs.yml'
jobs:
docs:
name: Docs
runs-on: 'ubuntu-latest'
defaults:
run:
working-directory: 'docs/web/'
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache-dependency-path: docs/web/package-lock.json
- run: npm ci
- run: npm run build
- run: npm run deploy
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH: ${{ secrets.NETLIFY_AUTH }}