mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-31 06:15:09 -05:00
34 lines
667 B
YAML
34 lines
667 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
doc:
|
|
name: Deploy documentation
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout the Git repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Generate Documentation
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y cmake doxygen doxygen-latex graphviz
|
|
cd docs
|
|
sudo cmake .
|
|
doxygen Doxyfile.docs >/dev/null
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
|
with:
|
|
branch: gh-pages
|
|
folder: docs/html
|
|
single-commit: true
|
|
clean: true
|
|
clean-exclude: CNAME
|