Skip to content

Updated github actions #2

Updated github actions

Updated github actions #2

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- engine/shadows
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 .
- 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