mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 10:45:50 +00:00
24 lines
573 B
YAML
24 lines
573 B
YAML
name: Build and publish Doxygen documentation
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
|
|
jobs:
|
|
job:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
- name: set OUTPUT_DIRECTORY
|
|
run: echo 'OUTPUT_DIRECTORY = html' >> docs/Doxyfile
|
|
- name: build
|
|
uses: mattnotmitt/doxygen-action@v1
|
|
with:
|
|
doxyfile-path: 'docs/Doxyfile'
|
|
- name: publish
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./html
|