Skip to content

chore: github action to build github pages artifact and upload #1

chore: github action to build github pages artifact and upload

chore: github action to build github pages artifact and upload #1

Workflow file for this run

name: Documentation
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run doc
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4