4jcraft/.github/workflows/build-doxygen.yml
ffqq 2ed79e298a
Some checks are pending
Publish Documentation / build (push) Waiting to run
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
Merge pull request #294 from MatthewBeshay/cleanup/delete-in-tree-4jlibs
Delete in-tree 4J libraries after extraction
2026-03-20 17:31:51 +03:00

33 lines
854 B
YAML

name: Publish Documentation
on:
push:
branches: ["dev"]
paths:
- "Minecraft.Assets/**"
- "Minecraft.Client/**"
- "Minecraft.World/**"
- "docs/**"
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Doxygen
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz build-essential libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev
- name: Update doxygen-awesome
run: git submodule update --init --recursive
- name: Generate Docs
run: cd docs && doxygen
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html
force_orphan: true