Skip to content

docs: Add deployment of contextive docs to netlify #1

docs: Add deployment of contextive docs to netlify

docs: Add deployment of contextive docs to netlify #1

Workflow file for this run

name: Contextive Docs
on:
push:
paths:
- 'docs/web'
- '.github/workflows/contextive-docs.yml'
jobs:
build-docs:
name: Build Docs
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- name: Install Dependencies
id: install-deps
run: npm ci
working-directory: docs/web/
- name: Build
id: build
run: npm run build
working-directory: docs/web/
- name: Deploy
id: deploy
run: npm run deploy
working-directory: docs/web/
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH: ${{ secrets.NETLIFY_AUTH }}