Skip to content

docs(handbook): add DE/EN manuals and include missing mermaid demo ar… #2

docs(handbook): add DE/EN manuals and include missing mermaid demo ar…

docs(handbook): add DE/EN manuals and include missing mermaid demo ar… #2

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Generate artifacts
run: |
npm run golden:generate
npm run demo:generate
- name: Build site
run: node scripts/build-docs.js
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs/site'
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4