You've already forked buildcache
mirror of
https://github.com/encounter/buildcache.git
synced 2026-07-09 18:18:50 -07:00
30 lines
538 B
YAML
30 lines
538 B
YAML
name: Publish Doxygen documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup Doxygen
|
|
run: |
|
|
sudo apt update
|
|
sudo apt install -y doxygen
|
|
|
|
- name: CMake
|
|
run: cmake -S src -B build
|
|
|
|
- name: Doxygen
|
|
run: cmake --build build --target doc
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: build/doc/html
|