mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
35 lines
829 B
YAML
35 lines
829 B
YAML
name: Doxygen GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pages: write
|
|
id-token: write
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install Doxygen
|
|
run: sudo apt-get install doxygen graphviz -y
|
|
- run: mkdir docs
|
|
- name: Install theme
|
|
run: ./tools/prepare_doxygen.sh
|
|
- name: Generate Doxygen Documentation
|
|
run: doxygen
|
|
- name: Deploy to GitHub Pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: doc/api/html
|