Skip to content

new cast syntax and fix assignment to parameters #349

new cast syntax and fix assignment to parameters

new cast syntax and fix assignment to parameters #349

name: Publish Doxygen to GitHub Pages
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- run: pip install meson
- name: Install build dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: doxygen graphviz ninja-build
version: 1.0
- run: meson setup build
- run: ninja -C build docs
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4