Merge pull request #671 from KEKW555/KEKW555-patch-1 #412
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run Doxygen to generate docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
# Ubuntu 22.04 is needed for an up-to-date version of doxygen. | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout m.css | |
uses: actions/checkout@v2 | |
with: | |
repository: octorock/m.css | |
ref: refs/heads/bitfields | |
path: ./m.css | |
- name: Install doxygen | |
run: sudo apt install -y doxygen | |
- name: Generate docs | |
run: ./m.css/documentation/doxygen.py doxygen_config.py | |
- name: deploy docs to github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/doxygen/html | |
# We do not need history for the gh-pages branch. | |
force_orphan: true |