Skip to content

chore: sync with upstream #48

chore: sync with upstream

chore: sync with upstream #48

Workflow file for this run

name: build-docs
on:
push:
branches:
- main
paths:
- '.github/workflows/build-docs.yml'
- 'components/**'
- 'examples/**'
- 'docs/**'
- 'README.md'
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: 'main'
- name: Install dependencies
run: sudo apt-get install doxygen graphviz -y
- name: Build docs
run: doxygen docs/Doxyfile
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/html
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to github pages
id: deployment
uses: actions/deploy-pages@v4