Files
inja/.github/workflows/documentation.yml
T
2023-01-29 13:41:04 +01:00

27 lines
528 B
YAML

name: Documentation
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install doxygen
run: sudo apt-get -y install doxygen
- name: Build documentation
working-directory: doc
run: doxygen
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v3
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./doc/html