Skip to content

Engine/shadows (#31) #10

Engine/shadows (#31)

Engine/shadows (#31) #10

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
- development
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz cmake
- name: Configure CMake
run: cmake -B build -S . -DBUILD_DOCS_ONLY=ON
- name: Build documentation
run: cmake --build build --target project_docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'build/docs/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4