Skip to content

doc: fix demo url

doc: fix demo url #7

Workflow file for this run

name: Deploy documentation to GitHub Pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# ---- BUILD STEP (customize this) ----
- name: Build documentation
run: |
sudo apt install cmake doxygen graphviz -y
cmake -S . -B build
make -Cbuild doc
mkdir -p site/doc/assets
cp -r build/doc/html/* site/
cp -r doc/assets site/doc/assets
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
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