Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Move Performance Q&A to discussions #232

Move Performance Q&A to discussions

Move Performance Q&A to discussions #232

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
docs:
name: "GitHub Pages"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout Git repository"
uses: actions/checkout@v4
- name: "Install dependencies"
run: |
sudo apt update
sudo apt install doxygen graphviz inkscape
- name: "Make figures"
run: |
cd ${{ github.workspace }}/docs/
make figures
- name: "Build documentation"
run: |
cd ${{ github.workspace }}
doxygen docs/Doxyfile
- name: "Deploy to GitHub Pages"
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html/
force_orphan: true