add documentation generation and deployment action

added target-folder to github deploy
fixed debian install command
This commit is contained in:
Gulliver 2023-06-08 16:28:05 +02:00
parent acfc581d32
commit 81d2b1d078

View File

@ -1,10 +1,10 @@
name: Deploy Doxygen results to Github Pages
on: push
#on:
# push:
# branches:
# - main
#on: push
on:
push:
branches:
- main
permissions:
contents: write
@ -20,7 +20,7 @@ jobs:
- name: prepate pip dependencies
run: pip3 install mkdocs-material mkdocs-redirects pyyaml mkdocs-meta-descriptions-plugin --no-input
- name: configure
run: cmake -B build -S . -DCROW_BUILD_DOCS=ON
run: cmake -B build -DCROW_AMALGAMATE=ON
- name: clean generated docs dir
run: rm -rf site docs/reference
- name: clone doxygen theme
@ -29,8 +29,6 @@ jobs:
run: doxygen
- name: run mkdocs
run: mkdocs build
#- name: build
# run: cmake --build build --target doc
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4